Změnit "basic_machines/grinder.lua"
This commit is contained in:
parent
3b42ddd002
commit
594975989e
1 changed files with 0 additions and 4 deletions
|
@ -223,10 +223,6 @@ minetest.register_node("basic_machines:grinder", {
|
||||||
insert_object = function(pos, node, stack, direction)
|
insert_object = function(pos, node, stack, direction)
|
||||||
local meta = minetest.get_meta(pos)
|
local meta = minetest.get_meta(pos)
|
||||||
local inv = meta:get_inventory()
|
local inv = meta:get_inventory()
|
||||||
local timer = minetest.get_node_timer(pos)
|
|
||||||
if not timer:is_started() then
|
|
||||||
timer:start(1.0)
|
|
||||||
end
|
|
||||||
if direction.y == 1 then
|
if direction.y == 1 then
|
||||||
return inv:add_item("fuel", stack)
|
return inv:add_item("fuel", stack)
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue