diff --git a/res/content/base/modules/util.lua b/res/content/base/modules/util.lua index dbad0c2a1..4d25ccb91 100644 --- a/res/content/base/modules/util.lua +++ b/res/content/base/modules/util.lua @@ -9,7 +9,7 @@ function util.drop_from_slot(invid, slot, mode) return end local pid = hud.get_player() - if mode == 2 and !player.is_infinite_items(pid) then + if mode == 2 and not player.is_infinite_items(pid) then return end local itemid, itemcount = inventory.get(invid, slot)