From 27c90aaed911ba382542cd761c8b01e24b042000 Mon Sep 17 00:00:00 2001 From: Bryson Steck Date: Sun, 4 Jul 2021 21:56:15 -0600 Subject: code cleanup --- src/net/brysonsteck/Resurrection/player/PlayerData.java | 12 ++++-------- 1 file changed, 4 insertions(+), 8 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 512c94f..582d940 100644 --- a/src/net/brysonsteck/Resurrection/player/PlayerData.java +++ b/src/net/brysonsteck/Resurrection/player/PlayerData.java @@ -1,10 +1,7 @@ package net.brysonsteck.Resurrection.player; -import net.brysonsteck.Resurrection.Resurrection; -import org.bukkit.plugin.java.JavaPlugin; import java.io.*; -import java.util.Arrays; import java.util.Hashtable; public class PlayerData { @@ -26,10 +23,9 @@ public class PlayerData { try { rawData = ""; BufferedReader reader = new BufferedReader(new FileReader("plugins/playerData.resurrection")); - String line = ""; + String line; String[] playerData; while (true) { - playerData = new String[3]; line = reader.readLine(); if (line == null) { break; @@ -46,9 +42,9 @@ public class PlayerData { } } - public Hashtable> getPlayers() { - return playerData; - } +// public Hashtable> getPlayers() { +// return playerData; +// } public String getRawData() { return rawData; -- cgit v1.2.3