Check joined_world=True on handle_stop_walking

This commit is contained in:
Ben 2020-03-26 22:20:50 +00:00
parent dd291ab5b3
commit 961b08a399

View File

@ -445,6 +445,7 @@ async def handle_wear_puffle(p, item_id: int):
@handlers.disconnected @handlers.disconnected
@handlers.player_attribute(client_type=ClientType.Legacy) @handlers.player_attribute(client_type=ClientType.Legacy)
@handlers.player_attribute(joined_world=True)
async def handle_stop_walking(p): async def handle_stop_walking(p):
if p.walking: if p.walking:
await p.update(hand=None, walking=None).apply() await p.update(hand=None, walking=None).apply()