From 2b1bb378e5bf321ca0ae35a6fe73ea3713045d05 Mon Sep 17 00:00:00 2001 From: Auke Kok Date: Fri, 31 Mar 2017 22:14:27 -0700 Subject: Luacheck fixes. --- polebean.lua | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) (limited to 'polebean.lua') diff --git a/polebean.lua b/polebean.lua index 608f6bb..91ec758 100644 --- a/polebean.lua +++ b/polebean.lua @@ -110,8 +110,11 @@ local function crops_beanpole_on_dig(pos, node, digger) minetest.remove_node(top) else -- ouch, this shouldn't happen - print("beanpole on_dig can't handle blocks at to: " .. bottom.x .. "," .. bottom.y .. "," .. bottom.z .. " and " .. top.x .. "," .. top.y .. "," .. top.z) - print("removing a " .. node.name .. " at " .. pos.x .. "," .. pos.y .. "," .. pos.z) + print("beanpole on_dig can't handle blocks at to: " .. + bottom.x .. "," .. bottom.y .. "," .. bottom.z .. + " and " .. top.x .. "," .. top.y .. "," .. top.z) + print("removing a " .. node.name .. " at " .. + pos.x .. "," .. pos.y .. "," .. pos.z) minetest.remove_node(pos) return end @@ -244,7 +247,12 @@ minetest.register_node("crops:beanpole_plant_top_" .. stage, { end minetest.register_abm({ - nodenames = { "crops:beanpole_plant_base_1", "crops:beanpole_plant_base_2", "crops:beanpole_plant_base_3", "crops:beanpole_plant_base_4" }, + nodenames = { + "crops:beanpole_plant_base_1", + "crops:beanpole_plant_base_2", + "crops:beanpole_plant_base_3", + "crops:beanpole_plant_base_4" + }, interval = crops.settings.interval, chance = crops.settings.chance, neighbors = { "group:soil" }, -- cgit v1.2.3