Changed some messages

This commit is contained in:
Victor Lobe Jr 2022-05-30 01:26:56 -06:00
parent 34cf55f21b
commit 87a5693b75
1 changed files with 2 additions and 2 deletions

View File

@ -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)
{