fix print statements (thanks miniontoby)
This commit is contained in:
@@ -805,4 +805,4 @@ if minetest.get_modpath("mesecons_mvps") then
|
|||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
print (S("[MOD] Protector Redo loaded"))
|
print ("[MOD] Protector Redo loaded")
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ and minetest.settings:get_bool("protector_pvp") then
|
|||||||
|
|
||||||
if not player
|
if not player
|
||||||
or not hitter then
|
or not hitter then
|
||||||
print(S("[Protector] on_punchplayer called with nil objects"))
|
print("[Protector] on_punchplayer called with nil objects")
|
||||||
end
|
end
|
||||||
|
|
||||||
if not hitter:is_player() then
|
if not hitter:is_player() then
|
||||||
@@ -64,9 +64,9 @@ and minetest.settings:get_bool("protector_pvp") then
|
|||||||
|
|
||||||
end)
|
end)
|
||||||
else
|
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
|
end
|
||||||
else
|
else
|
||||||
print(S("[Protector] pvp_protect is disabled"))
|
print("[Protector] pvp_protect is disabled")
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user