mirror of
https://github.com/plexusorg/Module-HTTPD.git
synced 2025-07-03 00:46:41 +00:00
Changed some messages
This commit is contained in:
@ -50,11 +50,11 @@ public class PunishmentsEndpoint extends AbstractServlet
|
|||||||
final PlexPlayer player = DataUtils.getPlayerByIP(ipAddress);
|
final PlexPlayer player = DataUtils.getPlayerByIP(ipAddress);
|
||||||
if (punishedPlayer == null)
|
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())
|
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)
|
if (player == null)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user