mirror of
https://github.com/solero/houdini.git
synced 2025-05-16 19:41:14 +00:00
Correct tour guide check in add inventory handler
This commit is contained in:
parent
79a7724756
commit
9584ceede2
@ -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:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user