Merge pull request #83 from solero/AllinolCP-patch-1

Fix Vanilla play interaction pet
This commit is contained in:
AllinolCP 2021-12-07 16:07:44 +07:00 committed by GitHub
commit 98f8c8ae02
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -583,7 +583,7 @@ async def handle_puffle_feed_interation_legacy(p, puffle: PenguinPuffle, x: int,
@handlers.handler(XTPacket('p', 'ip'), client=ClientType.Vanilla)
async def handle_puffle_play_interation_legacy(p, puffle: PenguinPuffle, x: int, y: int):
async def handle_puffle_play_interation_vanilla(p, puffle: PenguinPuffle, x: int, y: int):
favourite_toy = p.server.puffle_items[p.server.puffles[puffle.puffle_id].favourite_toy]
await deliver(p, favourite_toy, puffle)