From 9dc47c029925c41c12f248cf1993f43de559f480 Mon Sep 17 00:00:00 2001 From: Luan Luciano Date: Wed, 15 Nov 2023 12:48:04 -0300 Subject: [PATCH] fix: resolved problem with non-existent store condition (#1827) Resolves #1824 --- data/modules/scripts/gamestore/init.lua | 3 --- 1 file changed, 3 deletions(-) diff --git a/data/modules/scripts/gamestore/init.lua b/data/modules/scripts/gamestore/init.lua index 7f0f2a80ca8..86c2c60d4bc 100644 --- a/data/modules/scripts/gamestore/init.lua +++ b/data/modules/scripts/gamestore/init.lua @@ -234,9 +234,6 @@ local function queueSendStoreAlertToUser(message, delay, playerId, storeErrorCod end function onRecvbyte(player, msg, byte) - if not configManager.getBoolean(STOREMODULES) then - return true - end if player:getVocation():getId() == 0 and not GameStore.haveCategoryRook() then return player:sendCancelMessage("Store don't have offers for rookgaard citizen.") end