1
0
Fork 0

Global definition removed

This commit is contained in:
José Douglas da Silva Souza 2024-03-08 22:38:03 +00:00
parent e2bbc9df5c
commit d6b329d657
1 changed files with 6 additions and 6 deletions

View File

@ -11,11 +11,11 @@ mcl_hollow_logs.logs = {
}
if minetest.get_modpath("mcl_cherry_blossom") then
table.insert(logs, {"cherrytree", "Hollow Cherry Log", "Stripped Hollow Cherry Log"})
table.insert(mcl_hollow_logs.logs, {"cherrytree", "Hollow Cherry Log", "Stripped Hollow Cherry Log"})
end
if minetest.get_modpath("mcl_mangrove") then
table.insert(logs, {"mangrove_tree", "Hollow Mangrove Log", "Stripped Hollow Mangrove Log"})
table.insert(mcl_hollow_logs.logs, {"mangrove_tree", "Hollow Mangrove Log", "Stripped Hollow Mangrove Log"})
end
local collisionbox = {
@ -28,10 +28,10 @@ local collisionbox = {
}
}
for i = 1, #logs do
local name = logs[i][1]
local normal_desc = logs[i][2]
local stripped_desc = logs[i][3]
for i = 1, #mcl_hollow_logs.logs do
local name = mcl_hollow_logs.logs[i][1]
local normal_desc = mcl_hollow_logs.logs[i][2]
local stripped_desc = mcl_hollow_logs.logs[i][3]
minetest.register_node("mcl_hollow_logs:"..name.."_hollow", {
collision_box = collisionbox,