summaryrefslogtreecommitdiffstats
path: root/EssentialsSpawn
diff options
context:
space:
mode:
authorsnowleo <snowleo@e251c2fe-e539-e718-e476-b85c1f46cddb>2011-05-15 21:27:54 +0000
committersnowleo <snowleo@e251c2fe-e539-e718-e476-b85c1f46cddb>2011-05-15 21:27:54 +0000
commit7a50ed8179d7f3822763cefefa42a24b3aa8ff63 (patch)
treec3f8833473559d7f37bf1ddd743345476f3a8e18 /EssentialsSpawn
parent0d39f9225ae79430c4ed92f82b762190313fb35c (diff)
downloadEssentials-7a50ed8179d7f3822763cefefa42a24b3aa8ff63.tar
Essentials-7a50ed8179d7f3822763cefefa42a24b3aa8ff63.tar.gz
Essentials-7a50ed8179d7f3822763cefefa42a24b3aa8ff63.tar.lz
Essentials-7a50ed8179d7f3822763cefefa42a24b3aa8ff63.tar.xz
Essentials-7a50ed8179d7f3822763cefefa42a24b3aa8ff63.zip
Fix /home player for offline players
git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1497 e251c2fe-e539-e718-e476-b85c1f46cddb
Diffstat (limited to 'EssentialsSpawn')
-rw-r--r--EssentialsSpawn/src/com/earth2me/essentials/spawn/EssentialsSpawnPlayerListener.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/EssentialsSpawn/src/com/earth2me/essentials/spawn/EssentialsSpawnPlayerListener.java b/EssentialsSpawn/src/com/earth2me/essentials/spawn/EssentialsSpawnPlayerListener.java
index ea60a490f..ace8cd50b 100644
--- a/EssentialsSpawn/src/com/earth2me/essentials/spawn/EssentialsSpawnPlayerListener.java
+++ b/EssentialsSpawn/src/com/earth2me/essentials/spawn/EssentialsSpawnPlayerListener.java
@@ -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();
}