From cb053f8f98d544cf482cde7026e1e4be65309a30 Mon Sep 17 00:00:00 2001 From: Sebastian Nobbelin Date: Thu, 14 Sep 2023 19:58:27 +0200 Subject: [PATCH] fix: daily reward --- data/modules/scripts/daily_reward/daily_reward.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/modules/scripts/daily_reward/daily_reward.lua b/data/modules/scripts/daily_reward/daily_reward.lua index c319a37923c..1c6feba310c 100644 --- a/data/modules/scripts/daily_reward/daily_reward.lua +++ b/data/modules/scripts/daily_reward/daily_reward.lua @@ -463,7 +463,7 @@ function Player.selectDailyReward(self, msg) -- Adding items to store inbox local inbox = self:getSlotItem(CONST_SLOT_STORE_INBOX) - if inbox then + if not inbox then self:sendError("You do not have enough space in your store inbox.") return false end