Skip to content

Commit

Permalink
fix: resolved problem with non-existent store condition (opentibiabr#…
Browse files Browse the repository at this point in the history
  • Loading branch information
luanluciano93 authored Nov 15, 2023
1 parent 565ab60 commit 9dc47c0
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions data/modules/scripts/gamestore/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9dc47c0

Please sign in to comment.