From e50d742a8a34aa746ac311cb8aa160025ad050a2 Mon Sep 17 00:00:00 2001 From: mckaygerhard Date: Wed, 24 Apr 2024 17:08:05 -0400 Subject: [PATCH] mods - default - fix nil variables --- mods/default/legacy.lua | 3 --- mods/default/torch.lua | 2 -- 2 files changed, 5 deletions(-) diff --git a/mods/default/legacy.lua b/mods/default/legacy.lua index 71b8bbb..d1100de 100644 --- a/mods/default/legacy.lua +++ b/mods/default/legacy.lua @@ -49,9 +49,6 @@ else player_api.set_animation = default.player_set_animation end --- Chests -default.register_chest = default.chest.register_chest - -- Check for a volume intersecting protection if minetest.is_area_protected then function default.intersects_protection(minp, maxp, player_name, interval) diff --git a/mods/default/torch.lua b/mods/default/torch.lua index b6b2d89..04b6c52 100644 --- a/mods/default/torch.lua +++ b/mods/default/torch.lua @@ -111,7 +111,6 @@ minetest.register_node("default:torch_wall", { }, sounds = default.node_sound_wood_defaults(), floodable = true, - on_flood = on_flood, on_rotate = false }) @@ -136,7 +135,6 @@ minetest.register_node("default:torch_ceiling", { }, sounds = default.node_sound_wood_defaults(), floodable = true, - on_flood = on_flood, on_rotate = false })