Remove pointless message when there's no messages
This commit is contained in:
parent
5fdc520400
commit
c7d1f54167
@ -72,11 +72,7 @@ if enable_saving then
|
|||||||
local name = player:get_player_name()
|
local name = player:get_player_name()
|
||||||
|
|
||||||
if messages[name] ~= nil and #messages[name] >= 1 then
|
if messages[name] ~= nil and #messages[name] >= 1 then
|
||||||
minetest.chat_send_player(name, minetest.colorize("#0ff", S("Number of saved PMs: @1. Enter /pms command to view.", #messages[name])))
|
minetest.chat_send_player(name, minetest.colorize("#0ff", S("You've got mail! Number of saved PMs: @1. Enter /pms command to view.", #messages[name])))
|
||||||
return false
|
|
||||||
else
|
|
||||||
minetest.chat_send_player(name, minetest.colorize("#0ff", S("You have no saved PMs. Send PMs with the /pm command.")))
|
|
||||||
return true
|
|
||||||
end
|
end
|
||||||
end)
|
end)
|
||||||
end
|
end
|
||||||
|
@ -11,5 +11,4 @@ PM saving is disabled.=Speichern von PNs ist deaktiviert.
|
|||||||
No saved PMs.=Keine gespeicherten PNs.
|
No saved PMs.=Keine gespeicherten PNs.
|
||||||
Saved PMs:=Gespeicherte PNs:
|
Saved PMs:=Gespeicherte PNs:
|
||||||
@1 saved PMs=@1 gespeicherte PNs
|
@1 saved PMs=@1 gespeicherte PNs
|
||||||
Number of saved PMs: @1. Enter /pms command to view.=Anzahl der gespeicherten PNs: @. „/pms“-Behel eingeben, um sie zu lesen.
|
You've got mail! Number of saved PMs: @1. Enter /pms command to view.=Sie haben Post! Anzahl der gespeicherten PNs: @. „/pms“-Behel eingeben, um sie zu lesen.
|
||||||
You have no saved PMs. Send PMs with the /pm command.=Sie haben keine gespeicherten PNs. Senden Sie PNs mit dem „/pm“-Befehl.
|
|
||||||
|
@ -11,5 +11,4 @@ PM saving is disabled.=
|
|||||||
No saved PMs.=
|
No saved PMs.=
|
||||||
Saved PMs:=
|
Saved PMs:=
|
||||||
@1 saved PMs=
|
@1 saved PMs=
|
||||||
Number of saved PMs: @1. Enter /pms command to view.=
|
You've got mail! Number of saved PMs: @1. Enter /pms command to view.=
|
||||||
You have no saved PMs. Send PMs with the /pm command.=
|
|
||||||
|
Loading…
Reference in New Issue
Block a user