Merge pull request #52 from Parabot/cleanup/file-ban

[CLEANUP] Removed extra #exists
This commit is contained in:
Jeroen Ketelaar
2017-09-07 14:59:27 +02:00
committed by GitHub
@@ -46,8 +46,6 @@ public class FileBan implements Random {
private boolean doesFileExist() { private boolean doesFileExist() {
checked = true; checked = true;
return new File(System.getProperty("user.home") + "/jagex_rs.txt").exists();
File file = new File(System.getProperty("user.home") + "/jagex_rs.txt");
return file.exists() && file.exists();
} }
} }