We hope if player is authenticated, he is registered :')

This commit is contained in:
Xephi 2015-11-04 09:09:19 +01:00
parent c16b80a2bf
commit 6f56e865b7

View File

@ -45,7 +45,7 @@ public class AsyncronousQuit {
String ip = plugin.getIP(player);
if (PlayerCache.getInstance().isAuthenticated(name)) {
if (Settings.isSaveQuitLocationEnabled && database.isAuthAvailable(name)) {
if (Settings.isSaveQuitLocationEnabled) {
Location loc = player.getLocation();
PlayerAuth auth = new PlayerAuth(name, loc.getX(), loc.getY(), loc.getZ(), loc.getWorld().getName(), player.getName());
database.updateQuitLoc(auth);