From e0046e2d91cd37a08e6d22946a48b359d712f376 Mon Sep 17 00:00:00 2001 From: tenplus1 Date: Wed, 25 Aug 2021 08:52:51 +0100 Subject: [PATCH] fix print statements (thanks miniontoby) --- init.lua | 2 +- pvp.lua | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/init.lua b/init.lua index 7044b74..2e20b10 100644 --- a/init.lua +++ b/init.lua @@ -805,4 +805,4 @@ if minetest.get_modpath("mesecons_mvps") then end -print (S("[MOD] Protector Redo loaded")) +print ("[MOD] Protector Redo loaded") diff --git a/pvp.lua b/pvp.lua index 0efb62a..529fb1a 100644 --- a/pvp.lua +++ b/pvp.lua @@ -23,7 +23,7 @@ and minetest.settings:get_bool("protector_pvp") then if not player or not hitter then - print(S("[Protector] on_punchplayer called with nil objects")) + print("[Protector] on_punchplayer called with nil objects") end if not hitter:is_player() then @@ -64,9 +64,9 @@ and minetest.settings:get_bool("protector_pvp") then end) else - print(S("[Protector] pvp_protect not active, update your version of Minetest")) + print("[Protector] pvp_protect not active, update your version of Minetest") end else - print(S("[Protector] pvp_protect is disabled")) + print("[Protector] pvp_protect is disabled") end