mirror of
https://github.com/solero/houdini.git
synced 2024-11-21 21:17:21 +00:00
Only emit handler when disconnecting from the world servers
This commit is contained in:
parent
c171c75cb3
commit
1dc3bf9f34
@ -451,6 +451,7 @@ async def handle_wear_puffle(p, item_id: int):
|
||||
@handlers.disconnected
|
||||
@handlers.player_attribute(client_type=ClientType.Legacy)
|
||||
async def handle_stop_walking(p):
|
||||
if p.joined_world:
|
||||
if p.walking:
|
||||
await p.update(hand=None, walking=None).apply()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user