mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
fix: change ! to not
This commit is contained in:
parent
953a920e00
commit
39f7f29e88
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue