minor fix for quickput
This commit is contained in:
parent
18e935ac4e
commit
c7f5a98bd9
@ -57,6 +57,7 @@ local function quick_refuel(position, node, puncher, pointed)
|
|||||||
if transstack ~= 0 then
|
if transstack ~= 0 then
|
||||||
local leftover = inventory:add_item(whitelist[list], itemstack)
|
local leftover = inventory:add_item(whitelist[list], itemstack)
|
||||||
puncher:set_wielded_item(leftover)
|
puncher:set_wielded_item(leftover)
|
||||||
|
return
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user