mirror of
https://github.com/plexusorg/Module-HTTPD.git
synced 2025-07-28 08:24:03 +00:00
Changed some messages
This commit is contained in:
parent
34cf55f21b
commit
87a5693b75
1 changed files with 2 additions and 2 deletions
|
@ -50,11 +50,11 @@ public class PunishmentsEndpoint extends AbstractServlet
|
|||
final PlexPlayer player = DataUtils.getPlayerByIP(ipAddress);
|
||||
if (punishedPlayer == null)
|
||||
{
|
||||
return punishmentsHTML("This player has never joined the server before.");
|
||||
return punishmentsHTML("This player has never joined the server.");
|
||||
}
|
||||
if (punishedPlayer.getPunishments().isEmpty())
|
||||
{
|
||||
return punishmentsGoodHTML("This player has been a good boy. They have no punishments!");
|
||||
return punishmentsGoodHTML(player.getName() + " has no punishments.");
|
||||
}
|
||||
if (player == null)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue