mirror of
https://github.com/solero/houdini.git
synced 2024-11-09 12:48:20 +00:00
Update snow.py
This commit is contained in:
parent
3a35dc3c85
commit
a2999ad485
@ -6,12 +6,12 @@ from houdini.handlers.play.stampbook import get_player_stamps_string
|
||||
|
||||
@handlers.handler(XTPacket('i#ngi'))
|
||||
@handlers.cooldown(5)
|
||||
async def ninja_get_inventory(self, p):
|
||||
async def ninja_get_inventory(p):
|
||||
p.inventory = await PenguinItemCollection.get_collection(p.id)
|
||||
await p.send_xt('gi', *p.inventory.keys())
|
||||
|
||||
@handlers.handler(XTPacket('st#ngps'))
|
||||
@handlers.cooldown(5)
|
||||
async def ninja_get_penguin_stamps(self, p):
|
||||
async def ninja_get_penguin_stamps(p):
|
||||
p.stamps = await PenguinStampCollection.get_collection(p.id)
|
||||
await p.send_xt('gps', p.id, await get_player_stamps_string(p, p.id))
|
Loading…
Reference in New Issue
Block a user