Merge pull request #12 from Xephi/master

Up
This commit is contained in:
Gabriele C. 2015-07-10 21:21:38 +02:00
commit 926ec808f5

View File

@ -582,7 +582,7 @@ public class AuthMe extends JavaPlugin {
return Spawn.getInstance().getFirstSpawn(); return Spawn.getInstance().getFirstSpawn();
if (Spawn.getInstance().getSpawn() != null) if (Spawn.getInstance().getSpawn() != null)
return Spawn.getInstance().getSpawn(); return Spawn.getInstance().getSpawn();
return this.getServer().getWorld(Settings.defaultWorld).getSpawnLocation(); return player.getWorld().getSpawnLocation();
} }
public void downloadGeoIp() { public void downloadGeoIp() {