forked from mtcontrib/homedecor_modpack
Fix warnings issued by luacheck.
This commit is contained in:
@@ -142,8 +142,8 @@ minetest.register_lbm({
|
||||
action = function(pos, node)
|
||||
local name = node.name
|
||||
local newname = "homedecor:bathroom_tiles_light"
|
||||
local a,b = string.find(node.name, "_")
|
||||
local color = string.sub(node.name, a + 1)
|
||||
local a = string.find(name, "_")
|
||||
local color = string.sub(name, a + 1)
|
||||
|
||||
if color == "tan" then
|
||||
color = "yellow_s50"
|
||||
|
||||
Reference in New Issue
Block a user