Fix warnings issued by luacheck.

This commit is contained in:
Diego Martínez
2017-02-15 23:53:52 -03:00
부모 c8fa17801b
커밋 2df6dbcad9
16개의 변경된 파일17개의 추가작업 그리고 70개의 파일을 삭제

파일 보기

@@ -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