Fix Vanilla play interaction

This commit is contained in:
AllinolCP 2021-12-07 16:05:47 +07:00 committed by GitHub
parent da91f3f3ef
commit a68fecf4b2
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) @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] favourite_toy = p.server.puffle_items[p.server.puffles[puffle.puffle_id].favourite_toy]
await deliver(p, favourite_toy, puffle) await deliver(p, favourite_toy, puffle)