From 3deba275fef2b97013c92a92dc924f244512d598 Mon Sep 17 00:00:00 2001 From: rsakeys Date: Tue, 3 Mar 2020 15:58:49 +0000 Subject: [PATCH] Correct check for if the furniture is already in the players inventory. --- houdini/handlers/play/igloo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/houdini/handlers/play/igloo.py b/houdini/handlers/play/igloo.py index 8d6cb47..1e9b77d 100644 --- a/houdini/handlers/play/igloo.py +++ b/houdini/handlers/play/igloo.py @@ -265,7 +265,7 @@ async def handle_buy_furniture(p, furniture: Furniture): if furniture is None: return await p.send_error(402) - if furniture.id in p.igloos: + if furniture.id in p.furniture: return await p.send_error(400) if p.coins < furniture.cost: