mirror of
https://github.com/solero/houdini.git
synced 2025-09-03 22:08:38 +00:00
Correct tour guide check in add inventory handler
This commit is contained in:
@@ -58,7 +58,7 @@ async def handle_buy_inventory(p, item: Item):
|
|||||||
if item.id in p.data.inventory:
|
if item.id in p.data.inventory:
|
||||||
return await p.send_error(400)
|
return await p.send_error(400)
|
||||||
|
|
||||||
if item.epf:
|
if item.tour:
|
||||||
return await p.add_inbox(p.server.postcards[126])
|
return await p.add_inbox(p.server.postcards[126])
|
||||||
|
|
||||||
if p.data.coins < item.cost:
|
if p.data.coins < item.cost:
|
||||||
|
Reference in New Issue
Block a user