diff options
author | Bryson Steck <steck.bryson@gmail.com> | 2021-09-13 17:26:37 -0600 |
---|---|---|
committer | Bryson Steck <steck.bryson@gmail.com> | 2021-09-13 17:26:37 -0600 |
commit | 897c2b72e62da77ccb267b5b33b3e9c4f376333a (patch) | |
tree | 854412de7b2c199b993270803360c1801ad47a35 /src/net/brysonsteck/Resurrection/player/PlayerData.java | |
parent | 9e8c0c2a881100939a63ba4d610af5d26b53938d (diff) | |
download | resurrection-897c2b72e62da77ccb267b5b33b3e9c4f376333a.tar resurrection-897c2b72e62da77ccb267b5b33b3e9c4f376333a.tar.gz resurrection-897c2b72e62da77ccb267b5b33b3e9c4f376333a.tar.bz2 |
added debug messages to all where applicable
Diffstat (limited to 'src/net/brysonsteck/Resurrection/player/PlayerData.java')
-rw-r--r-- | src/net/brysonsteck/Resurrection/player/PlayerData.java | 6 |
1 files changed, 3 insertions, 3 deletions
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() { |