puncher not player
This commit is contained in:
parent
dfa0dc4a7b
commit
a703b07871
@ -34,7 +34,7 @@ function fluid_lib.register_extractor_node(nodename, nodedef)
|
|||||||
|
|
||||||
nodedef.on_punch = function (pos, node, puncher, pointed_thing)
|
nodedef.on_punch = function (pos, node, puncher, pointed_thing)
|
||||||
minetest.get_node_timer(pos):start(1.0)
|
minetest.get_node_timer(pos):start(1.0)
|
||||||
minetest.chat_send_player(player:get_player_name(),"Pump Started")
|
minetest.chat_send_player(puncher:get_player_name(),"Pump Started")
|
||||||
minetest.chat_send_all("Pump Started")
|
minetest.chat_send_all("Pump Started")
|
||||||
minetest.node_punch(pos, node, puncher, pointed_thing)
|
minetest.node_punch(pos, node, puncher, pointed_thing)
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user