From 897c2b72e62da77ccb267b5b33b3e9c4f376333a Mon Sep 17 00:00:00 2001 From: Bryson Steck Date: Mon, 13 Sep 2021 17:26:37 -0600 Subject: added debug messages to all where applicable --- src/net/brysonsteck/Resurrection/player/PlayerData.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/net/brysonsteck/Resurrection/player/PlayerData.java') diff --git a/src/net/brysonsteck/Resurrection/player/PlayerData.java b/src/net/brysonsteck/Resurrection/player/PlayerData.java index 4771af5..ceb8e38 100644 --- a/src/net/brysonsteck/Resurrection/player/PlayerData.java +++ b/src/net/brysonsteck/Resurrection/player/PlayerData.java @@ -33,11 +33,11 @@ public class PlayerData { System.out.println("[Resurrection] Resurrection will continue to run despite this error, but avoid shutting down the server until a successful save occurs."); System.out.println("[Resurrection] In the mean time, check to make sure the playerData file exists and you have permissions to write to it."); } - readData(); - if (DEBUG) { - Bukkit.broadcastMessage(ChatColor.YELLOW +""+ ChatColor.BOLD + "[Res. DEBUG]: Player data saved successfully"); + Bukkit.broadcastMessage(ChatColor.YELLOW +""+ ChatColor.BOLD + "[Res. DEBUG]: Player data saved successfully, rereading data to ensure Resurrection is up to date"); } + + readData(); } public void readData() { -- cgit v1.2.3