mirror of
https://github.com/mt-mods/homedecor_modpack.git
synced 2025-06-28 12:56:01 +02:00
Fix warnings issued by luacheck
.
This commit is contained in:
@ -34,7 +34,6 @@ minetest.register_node("lavalamp:lavalamp", {
|
||||
sounds = default.node_sound_glass_defaults(),
|
||||
after_dig_node = unifieddyes.after_dig_node,
|
||||
on_rightclick = function(pos, node, clicker, itemstack, pointed_thing)
|
||||
local itemname = itemstack:get_name()
|
||||
node.name = "lavalamp:lavalamp_off"
|
||||
minetest.swap_node(pos, node)
|
||||
return itemstack
|
||||
@ -102,7 +101,6 @@ minetest.register_lbm({
|
||||
nodenames = lavalamp.old_static_nodes,
|
||||
action = function(pos, node)
|
||||
local name = node.name
|
||||
local newname
|
||||
local color
|
||||
|
||||
if string.find(name, "red") then
|
||||
|
Reference in New Issue
Block a user