mirror of
https://github.com/APercy/airutils
synced 2025-08-27 14:46:23 +02:00
fix
This commit is contained in:
parent
996e650194
commit
44a23b3928
@ -96,6 +96,7 @@ minetest.register_node("airutils:papi",{
|
||||
function airutils.remove_papi(pos)
|
||||
local meta = core.get_meta(pos)
|
||||
local node = minetest.get_node(pos)
|
||||
if node and meta then
|
||||
local dir=node.param2
|
||||
if node.name == "airutils:papi_right" then
|
||||
core.set_node(pos, {name="airutils:papi", param2=dir})
|
||||
@ -109,6 +110,7 @@ function airutils.remove_papi(pos)
|
||||
-- when swapping it
|
||||
return
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
-- PAPI right node
|
||||
|
Loading…
Reference in New Issue
Block a user