Non-spammy player shops (#407)

* Add check that players are over total level 50, but shop items check is broken

* Bots now only appear when they meet reqs! Woot!
This commit is contained in:
Daniel Ginovker authored and GitHub committed 2020-08-03 13:28:43 -04:00
1 parent 707783552f
commit 1a911f1ad0
5 files changed
+28 -3

No files matched your search

@@ -27,6 +27,9 @@ public class PlayerSave {
BufferedReader characterfile = null;
boolean File1 = false;
if (player.playerName == null) {
System.out.println("WARNING: called loadPlayerInfo with a Client who does not have a .playerName");
}
try {
characterfile = new BufferedReader(new FileReader(System.getProperty("user.dir") + "/data/characters/" + player.playerName + ".txt"));
File1 = true;