aboutsummaryrefslogtreecommitdiff
path: root/src/net/brysonsteck/Resurrection/player
diff options
context:
space:
mode:
authorBryson Steck <steck.bryson@gmail.com>2022-01-01 22:46:37 -0700
committerBryson Steck <steck.bryson@gmail.com>2022-01-01 22:46:37 -0700
commit661222bd3681d65178933892c7fe688b2bcff8e3 (patch)
treefe1275da92fee29a88f79645a431851257945d27 /src/net/brysonsteck/Resurrection/player
parent95166d5f10abec2fe6bd098f70316660fa1b775e (diff)
downloadresurrection-661222bd3681d65178933892c7fe688b2bcff8e3.tar
resurrection-661222bd3681d65178933892c7fe688b2bcff8e3.tar.gz
resurrection-661222bd3681d65178933892c7fe688b2bcff8e3.tar.bz2
cleaning up some things
Diffstat (limited to 'src/net/brysonsteck/Resurrection/player')
-rw-r--r--src/net/brysonsteck/Resurrection/player/PlayerData.java2
-rw-r--r--src/net/brysonsteck/Resurrection/player/PlayerListener.java2
2 files changed, 1 insertions, 3 deletions
diff --git a/src/net/brysonsteck/Resurrection/player/PlayerData.java b/src/net/brysonsteck/Resurrection/player/PlayerData.java
index d663c8e..89df20f 100644
--- a/src/net/brysonsteck/Resurrection/player/PlayerData.java
+++ b/src/net/brysonsteck/Resurrection/player/PlayerData.java
@@ -61,10 +61,10 @@ public class PlayerData {
playerHash.put("timeLeft", playerData[2]);
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].replaceFirst(";","") + " | dead: " + playerData[1] + " | ms to resurrect at: " + playerData[2]);
}
}
+ reader.close();
} catch (IOException e) {
if (DEBUG) {
Bukkit.broadcastMessage(ChatColor.YELLOW +""+ ChatColor.BOLD + "[Res. DEBUG]: Error occurred while trying to read player data. Resurrection is shutting down");
diff --git a/src/net/brysonsteck/Resurrection/player/PlayerListener.java b/src/net/brysonsteck/Resurrection/player/PlayerListener.java
index 6971f84..9a445e4 100644
--- a/src/net/brysonsteck/Resurrection/player/PlayerListener.java
+++ b/src/net/brysonsteck/Resurrection/player/PlayerListener.java
@@ -15,8 +15,6 @@ import org.bukkit.potion.PotionEffect;
import org.bukkit.potion.PotionEffectType;
import org.bukkit.scheduler.BukkitRunnable;
-import java.util.Hashtable;
-
public class PlayerListener implements Listener {
boolean stillDead;