Remove cooldown from add inventory handler

This commit is contained in:
Ben 2019-09-09 22:29:55 +01:00
parent 81f40e7066
commit 6cc7219572

View File

@ -51,7 +51,6 @@ async def handle_get_inventory(p):
@handlers.handler(XTPacket('i', 'ai')) @handlers.handler(XTPacket('i', 'ai'))
@handlers.depends_on_packet(XTPacket('i', 'gi')) @handlers.depends_on_packet(XTPacket('i', 'gi'))
@handlers.cooldown(1)
async def handle_buy_inventory(p, item: Item): async def handle_buy_inventory(p, item: Item):
if item.id not in p.server.items: if item.id not in p.server.items:
return await p.send_error(402) return await p.send_error(402)