mirror of
https://notabug.org/TenPlus1/protector.git
synced 2024-12-05 03:33:48 +01:00
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
|
||||
|
||||
|
||||
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
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user