mirror of
https://gitlab.icynet.eu/evert/fluid_lib.git
synced 2024-12-18 03:05:45 +01:00
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)
|
||||
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.node_punch(pos, node, puncher, pointed_thing)
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user