diff --git a/README.md b/README.md index e7e14c1..5911d34 100644 --- a/README.md +++ b/README.md @@ -23,5 +23,5 @@ Powered tools that you can simply recharge instead of crafting them again. ### Farming Farming automation machines: automatic planting and harvesting of crops. -### (Planned) Nuclear -Nuclear power. Both fission and fusion will be presented! +### Nuclear +Nuclear power. Both fission and fusion will (soon) be presented! diff --git a/elepower_papi/machine.lua b/elepower_papi/machine.lua index 8e898c1..3dd826e 100644 --- a/elepower_papi/machine.lua +++ b/elepower_papi/machine.lua @@ -148,14 +148,17 @@ local tube = { local tubelib_tube = { on_pull_item = function(pos, side, player_name) local meta = minetest.get_meta(pos) + minetest.get_node_timer(pos):start(1.0) return tubelib.get_item(meta, "dst") end, on_push_item = function(pos, side, item, player_name) local meta = minetest.get_meta(pos) + minetest.get_node_timer(pos):start(1.0) return tubelib.put_item(meta, "src", item) end, on_unpull_item = function(pos, side, item, player_name) local meta = minetest.get_meta(pos) + minetest.get_node_timer(pos):start(1.0) return tubelib.put_item(meta, "dst", item) end, }