mods - default - fix nil variables
This commit is contained in:
parent
16da62e7e4
commit
e50d742a8a
@ -49,9 +49,6 @@ else
|
|||||||
player_api.set_animation = default.player_set_animation
|
player_api.set_animation = default.player_set_animation
|
||||||
end
|
end
|
||||||
|
|
||||||
-- Chests
|
|
||||||
default.register_chest = default.chest.register_chest
|
|
||||||
|
|
||||||
-- Check for a volume intersecting protection
|
-- Check for a volume intersecting protection
|
||||||
if minetest.is_area_protected then
|
if minetest.is_area_protected then
|
||||||
function default.intersects_protection(minp, maxp, player_name, interval)
|
function default.intersects_protection(minp, maxp, player_name, interval)
|
||||||
|
@ -111,7 +111,6 @@ minetest.register_node("default:torch_wall", {
|
|||||||
},
|
},
|
||||||
sounds = default.node_sound_wood_defaults(),
|
sounds = default.node_sound_wood_defaults(),
|
||||||
floodable = true,
|
floodable = true,
|
||||||
on_flood = on_flood,
|
|
||||||
on_rotate = false
|
on_rotate = false
|
||||||
})
|
})
|
||||||
|
|
||||||
@ -136,7 +135,6 @@ minetest.register_node("default:torch_ceiling", {
|
|||||||
},
|
},
|
||||||
sounds = default.node_sound_wood_defaults(),
|
sounds = default.node_sound_wood_defaults(),
|
||||||
floodable = true,
|
floodable = true,
|
||||||
on_flood = on_flood,
|
|
||||||
on_rotate = false
|
on_rotate = false
|
||||||
})
|
})
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user