fix print statements (thanks miniontoby)
This commit is contained in:
parent
1f84b04388
commit
e0046e2d91
2
init.lua
2
init.lua
@ -805,4 +805,4 @@ if minetest.get_modpath("mesecons_mvps") then
|
|||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
print (S("[MOD] Protector Redo loaded"))
|
print ("[MOD] Protector Redo loaded")
|
||||||
|
6
pvp.lua
6
pvp.lua
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user