Remove static PlayerCache#getInstance

This commit is contained in:
ljacqu
2017-04-18 21:55:41 +02:00
parent b0c05afaa7
commit 2f7ebc0ecb
7 changed files with 33 additions and 60 deletions
@@ -235,7 +235,7 @@ public class AsynchronousLogin implements AsynchronousProcess {
ConsoleLogger.fine(player.getName() + " logged in!");
// makes player isLoggedin via API
playerCache.addPlayer(auth);
playerCache.updatePlayer(auth);
dataSource.setLogged(name);
// As the scheduling executes the Task most likely after the current