mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-06 03:21:49 +00:00
Merge branch 'feat-inventory-enhancements' into feat-inventory-enhancements-p2
This commit is contained in:
commit
9a58efd8ec
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