mirror of
https://github.com/joe7575/techpack.git
synced 2024-11-22 23:33:44 +01:00
pushing bug fixed
This commit is contained in:
parent
b29893e96d
commit
8c77ded9d5
@ -187,7 +187,11 @@ tubelib.register_node("tubelib_addons3:pushing_chest", {}, {
|
||||
on_push_item = function(pos, side, item)
|
||||
local meta = minetest.get_meta(pos)
|
||||
if configured(pos, item) then
|
||||
return tubelib.put_item(meta, "main", item)
|
||||
if tubelib.put_item(meta, "main", item) then
|
||||
return true
|
||||
else
|
||||
return tubelib.put_item(meta, "shift", item)
|
||||
end
|
||||
else
|
||||
return tubelib.put_item(meta, "shift", item)
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user