logic expression fix

master
BuckarooBanzay 2020-03-10 11:29:59 +01:00
parent 81f67214f5
commit 864f7db982
1 changed files with 1 additions and 1 deletions

View File

@ -120,7 +120,7 @@ minetest.register_globalstep(function()
for i, stack in ipairs(list) do
local amount = items[stack:get_name()]
if amount and amount < 0 or amount > 0 then
if amount and (amount < 0 or amount > 0) then
local count = stack:get_count()
player_inv:set_stack("main", i, ItemStack(""))