From 87a5693b75c16e1a0c3cf16a752fb42a0f75aa63 Mon Sep 17 00:00:00 2001 From: Victor Lobe Jr Date: Mon, 30 May 2022 01:26:56 -0600 Subject: [PATCH] Changed some messages --- src/main/java/dev/plex/request/impl/PunishmentsEndpoint.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/dev/plex/request/impl/PunishmentsEndpoint.java b/src/main/java/dev/plex/request/impl/PunishmentsEndpoint.java index 3d168d7..4b70c9c 100644 --- a/src/main/java/dev/plex/request/impl/PunishmentsEndpoint.java +++ b/src/main/java/dev/plex/request/impl/PunishmentsEndpoint.java @@ -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) {