From 6c39053bdf64ac130daee2bf3b44ce1c025b4dbd Mon Sep 17 00:00:00 2001 From: Bryson Steck Date: Sun, 4 Jul 2021 21:23:50 -0600 Subject: fixed time formatting --- src/net/brysonsteck/Resurrection/player/PlayerData.java | 4 ++-- 1 file changed, 2 insertions(+), 2 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 4201cb3..512c94f 100644 --- a/src/net/brysonsteck/Resurrection/player/PlayerData.java +++ b/src/net/brysonsteck/Resurrection/player/PlayerData.java @@ -13,7 +13,7 @@ public class PlayerData { public void saveData(String write) { try { - FileWriter writer = new FileWriter("playerData.resurrection"); + FileWriter writer = new FileWriter("plugins/playerData.resurrection"); writer.write(write); writer.close(); } catch (IOException e) { @@ -25,7 +25,7 @@ public class PlayerData { public void readData() { try { rawData = ""; - BufferedReader reader = new BufferedReader(new FileReader("playerData.resurrection")); + BufferedReader reader = new BufferedReader(new FileReader("plugins/playerData.resurrection")); String line = ""; String[] playerData; while (true) { -- cgit v1.2.3