From 1d054ec431b72077d4be36f7a814c77a16e6b18b Mon Sep 17 00:00:00 2001 From: Hugo Locurcio Date: Wed, 20 Mar 2019 21:38:28 +0100 Subject: [PATCH] Fix circular saw infotext message on initial placement The concatenation operator was mistakenly written as `.` instead of `..`. --- circular_saw.lua | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/circular_saw.lua b/circular_saw.lua index 4857853..9395a2e 100644 --- a/circular_saw.lua +++ b/circular_saw.lua @@ -140,9 +140,7 @@ function circular_saw:reset(pos) inv:set_list("output", {}) meta:set_int("anz", 0) - meta:set_string("infotext", - S("Circular Saw is empty") .. owned_by - ) + meta:set_string("infotext", S("Circular Saw is empty") .. owned_by) end @@ -452,9 +450,7 @@ minetest.register_node("moreblocks:circular_saw", { end meta:set_string("owner", owner) - meta:set_string("infotext", - S("Circular Saw is empty") . owned_by - ) + meta:set_string("infotext", S("Circular Saw is empty") .. owned_by) end, -- The amount of items offered per shape can be configured: