mirror of
https://github.com/mt-mods/homedecor_modpack.git
synced 2025-07-23 23:50:18 +02:00
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