1
0
mirror of https://github.com/mt-mods/homedecor_modpack.git synced 2025-07-01 06:10:25 +02:00

Fix warnings issued by luacheck.

This commit is contained in:
Diego Martínez
2017-02-15 23:53:52 -03:00
parent c8fa17801b
commit 2df6dbcad9
16 changed files with 17 additions and 70 deletions

View File

@ -13,7 +13,7 @@ minetest.register_node("lrfurn:armchair", {
drawtype = "mesh",
mesh = "lrfurn_armchair.obj",
tiles = {
"lrfurn_upholstery.png",
"lrfurn_upholstery.png",
{ name = "lrfurn_sofa_bottom.png", color = 0xffffffff }
},
paramtype = "light",
@ -26,7 +26,6 @@ minetest.register_node("lrfurn:armchair", {
after_place_node = lrfurn.fix_rotation,
after_dig_node = unifieddyes.after_dig_node,
on_rightclick = function(pos, node, clicker, itemstack, pointed_thing)
local itemname = itemstack:get_name()
if not clicker:is_player() then
return itemstack
end