From 4ef6c47a6491cb273b32633edcf862273e3596be Mon Sep 17 00:00:00 2001 From: Xephi59 Date: Fri, 10 Jul 2015 14:49:17 +0200 Subject: [PATCH] Temp fix --- src/main/java/fr/xephi/authme/AuthMe.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/fr/xephi/authme/AuthMe.java b/src/main/java/fr/xephi/authme/AuthMe.java index 450e83564..82697f2df 100644 --- a/src/main/java/fr/xephi/authme/AuthMe.java +++ b/src/main/java/fr/xephi/authme/AuthMe.java @@ -582,7 +582,7 @@ public class AuthMe extends JavaPlugin { return Spawn.getInstance().getFirstSpawn(); if (Spawn.getInstance().getSpawn() != null) return Spawn.getInstance().getSpawn(); - return this.getServer().getWorld(Settings.defaultWorld).getSpawnLocation(); + return player.getWorld().getSpawnLocation(); } public void downloadGeoIp() {