From a871a8e46c7d0f4443f35160c5b221a0e4276a7d Mon Sep 17 00:00:00 2001 From: Bryson Steck Date: Mon, 13 Sep 2021 17:33:21 -0600 Subject: removed semicolon from players name in debug mode --- out/artifacts/Resurrection_jar/Resurrection.jar | Bin 1605273 -> 1605304 bytes .../Resurrection/player/PlayerData.java | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/out/artifacts/Resurrection_jar/Resurrection.jar b/out/artifacts/Resurrection_jar/Resurrection.jar index e46419b..85da73e 100644 Binary files a/out/artifacts/Resurrection_jar/Resurrection.jar and b/out/artifacts/Resurrection_jar/Resurrection.jar differ diff --git a/src/net/brysonsteck/Resurrection/player/PlayerData.java b/src/net/brysonsteck/Resurrection/player/PlayerData.java index ceb8e38..d663c8e 100644 --- a/src/net/brysonsteck/Resurrection/player/PlayerData.java +++ b/src/net/brysonsteck/Resurrection/player/PlayerData.java @@ -62,7 +62,7 @@ public class PlayerData { this.playerData.put(playerData[0], playerHash); if (DEBUG) { TimeCheck timeCheck = new TimeCheck(Long.parseLong(playerData[2])); - Bukkit.broadcastMessage(ChatColor.YELLOW +""+ ChatColor.BOLD + "[Res. DEBUG]: player: " + playerData[0] + " | dead: " + playerData[1] + " | ms to resurrect at: " + playerData[2]); + Bukkit.broadcastMessage(ChatColor.YELLOW +""+ ChatColor.BOLD + "[Res. DEBUG]: player: " + playerData[0].replaceFirst(";","") + " | dead: " + playerData[1] + " | ms to resurrect at: " + playerData[2]); } } } catch (IOException e) { -- cgit v1.2.3