mirror of
https://github.com/joe7575/techpack.git
synced 2024-09-12 07:58:39 +02: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)
|
on_push_item = function(pos, side, item)
|
||||||
local meta = minetest.get_meta(pos)
|
local meta = minetest.get_meta(pos)
|
||||||
if configured(pos, item) then
|
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
|
else
|
||||||
return tubelib.put_item(meta, "shift", item)
|
return tubelib.put_item(meta, "shift", item)
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user