multicraft2 compability
parent
67613b6151
commit
dfaebe4ad1
2
init.lua
2
init.lua
|
@ -1,6 +1,6 @@
|
|||
local HUD = nil
|
||||
minetest.register_on_punchnode(function(pos, node)
|
||||
if core.localplayer:get_control().aux1 and tostring(core.localplayer:get_velocity()) == '(0, 0, 0)' then
|
||||
if core.localplayer:get_control().aux1 and core.pos_to_string(core.localplayer:get_velocity()) == '(0,0,0)' then
|
||||
if not HUD then
|
||||
HUD = core.localplayer:hud_add({
|
||||
hud_elem_type = "waypoint",
|
||||
|
|
Loading…
Reference in New Issue