Merge branch 'feat-inventory-enhancements' into feat-inventory-enhancements-p2

This commit is contained in:
neveix 2026-08-14 01:34:31 +05:00
commit 9a58efd8ec

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)