From 39f7f29e88575b7cfdfbecaccf604006ec7b7a58 Mon Sep 17 00:00:00 2001 From: neveix Date: Fri, 14 Aug 2026 01:28:40 +0500 Subject: [PATCH] fix: change ! to not --- res/content/base/modules/util.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)