From bb6e126297ac0767ee1e174eb3a7d710f2b7ab2b Mon Sep 17 00:00:00 2001 From: Bryson Steck Date: Wed, 16 Jun 2021 17:15:44 -0600 Subject: fixed file location --- src/net/brysonsteck/Resurrection/player/PlayerData.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/net/brysonsteck/Resurrection/player') diff --git a/src/net/brysonsteck/Resurrection/player/PlayerData.java b/src/net/brysonsteck/Resurrection/player/PlayerData.java index 44dddb5..bdba51d 100644 --- a/src/net/brysonsteck/Resurrection/player/PlayerData.java +++ b/src/net/brysonsteck/Resurrection/player/PlayerData.java @@ -13,19 +13,19 @@ public class PlayerData { public void saveData(String write) { try { - FileWriter writer = new FileWriter("data/player.data"); + FileWriter writer = new FileWriter("playerData.resurrection"); writer.write(write); writer.close(); - readData(); } catch (IOException e) { e.printStackTrace(); } + readData(); } public void readData() { try { rawData = ""; - BufferedReader reader = new BufferedReader(new FileReader("data/player.data")); + BufferedReader reader = new BufferedReader(new FileReader("data/playerData.resurrection")); String line = ""; String[] playerData; while (true) { -- cgit v1.2.3