From d623715d94152e38e817555f43c7c6ab2372045c Mon Sep 17 00:00:00 2001
From: Bryce w <55167737+blockhead100@users.noreply.github.com>
Date: Thu, 20 Oct 2022 18:28:45 +0200
Subject: [PATCH] Add LV led and lamp

---
 technic/tools/cans.lua |   10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/technic/tools/cans.lua b/technic/tools/cans.lua
index c79093f..6507f7a 100644
--- a/technic/tools/cans.lua
+++ b/technic/tools/cans.lua
@@ -36,7 +36,10 @@
 			local charge = get_can_level(itemstack)
 			if charge == data.can_capacity then return end
 			if minetest.is_protected(pointed_thing.under, user:get_player_name()) then
-				minetest.log("action", user:get_player_name().." tried to take "..node.name.." at protected position "..minetest.pos_to_string(pointed_thing.under).." with a "..data.can_name)
+				minetest.log("action", user:get_player_name()..
+					" tried to take "..node.name..
+					" at protected position "..minetest.pos_to_string(pointed_thing.under)..
+					" with a "..data.can_name)
 				return
 			end
 			minetest.remove_node(pointed_thing.under)
@@ -63,7 +66,10 @@
 			local charge = get_can_level(itemstack)
 			if charge == 0 then return end
 			if minetest.is_protected(pos, user:get_player_name()) then
-				minetest.log("action", user:get_player_name().." tried to place "..data.liquid_source_name.." at protected position "..minetest.pos_to_string(pos).." with a "..data.can_name)
+				minetest.log("action", user:get_player_name()..
+					" tried to place "..data.liquid_source_name..
+					" at protected position "..minetest.pos_to_string(pos)..
+					" with a "..data.can_name)
 				return
 			end
 			minetest.set_node(pos, {name=data.liquid_source_name})

--
Gitblit v1.8.0