1
0
mirror of https://github.com/essentials/Essentials.git synced 2025-08-12 01:25:26 +02:00

Fix /home player for offline players

git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1497 e251c2fe-e539-e718-e476-b85c1f46cddb
This commit is contained in:
snowleo
2011-05-15 21:27:54 +00:00
parent 3ba637d980
commit a940e29ad5
4 changed files with 5 additions and 5 deletions

View File

@@ -22,7 +22,7 @@ public class EssentialsSpawnPlayerListener extends PlayerListener
{
if (Essentials.getStatic().getSettings().getRespawnAtHome())
{
Location home = user.getHome();
Location home = user.getHome(user.getLocation());
if (home == null) {
throw new Exception();
}