mods - default - fix nil variables

This commit is contained in:
mckaygerhard 2024-04-24 17:08:05 -04:00
parent 16da62e7e4
commit e50d742a8a
2 changed files with 0 additions and 5 deletions

View File

@ -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)

View File

@ -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
}) })