fix: change ! to not

This commit is contained in:
neveix 2026-08-14 01:28:40 +05:00
parent 953a920e00
commit 39f7f29e88

View file

@ -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)