Fixed Warnings on mutliple Textures

This commit is contained in:
A.C.M 2020-10-29 00:26:58 +01:00
parent 31d815fbeb
commit 886a58aaa6

@ -10,13 +10,30 @@
]]-- ]]--
local snodes = { local snodes = {
{"default", "dirt"},
{"default", "dry_dirt"},
{"default", "permafrost"},
{"default", "sand"},
{"default", "silver_sand"},
{"default", "desert_sand"},
{"default", "gravel"},
{"default", "clay"},
{"default", "snowblock"},
{"default", "ice"},
{"default", "cave_ice"},
{"default", "cobble"}, {"default", "cobble"},
{"default", "stone"}, {"default", "stone"},
{"default", "stonebrick"}, {"default", "stonebrick"},
{"default", "stone_block"}, {"default", "stone_block"},
{"default", "mossycobble"},
{"default", "glass"}, --{"default", "glass"},
{"default", "obsidian_glass"}, --{"default", "obsidian_glass"},
{"default", "desert_cobble"}, {"default", "desert_cobble"},
{"default", "desert_stone"}, {"default", "desert_stone"},
@ -39,20 +56,22 @@ local snodes = {
{"default", "obsidianbrick"}, {"default", "obsidianbrick"},
{"default", "obsidian_block"}, {"default", "obsidian_block"},
{"default", "coral_skeleton"},
{"default", "wood"}, {"default", "wood"},
{"default", "tree"}, --{"default", "tree"},
{"default", "junglewood"}, {"default", "junglewood"},
{"default", "jungletree"}, --{"default", "jungletree"},
{"default", "aspen_wood"}, {"default", "aspen_wood"},
{"default", "aspen_tree"}, --{"default", "aspen_tree"},
{"default", "pine_wood"}, {"default", "pine_wood"},
{"default", "pine_tree"}, --{"default", "pine_tree"},
{"default", "acacia_wood"}, {"default", "acacia_wood"},
{"default", "acacia_tree"}, --{"default", "acacia_tree"},
{"moreores", "mithril_block"}, {"moreores", "mithril_block"},
@ -61,7 +80,7 @@ local snodes = {
local register = stealthnode.register_stealthnode local register = stealthnode.register_stealthnode
for i,value in pairs(snodes) do for i,value in pairs(snodes) do
if(minetest.registered_nodes[value[1]..":"..value[2]]) then if(minetest.registered_nodes[value[1]..":"..value[2]]) then
register(value[1], value[2]) register(value[1], value[2])
else else
minetest.log("info","[MOD]stealthnode:Node ".. value[1]..":"..value[2].." not found to register a Stealthnode.") minetest.log("info","[MOD]stealthnode:Node ".. value[1]..":"..value[2].." not found to register a Stealthnode.")
end -- if(mintest.registered_nodes end -- if(mintest.registered_nodes