summaryrefslogtreecommitdiffstats
path: root/EssentialsSpawn
diff options
context:
space:
mode:
Diffstat (limited to 'EssentialsSpawn')
-rw-r--r--EssentialsSpawn/src/com/earth2me/essentials/spawn/EssentialsSpawnPlayerListener.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/EssentialsSpawn/src/com/earth2me/essentials/spawn/EssentialsSpawnPlayerListener.java b/EssentialsSpawn/src/com/earth2me/essentials/spawn/EssentialsSpawnPlayerListener.java
index e5611b494..648ba33e3 100644
--- a/EssentialsSpawn/src/com/earth2me/essentials/spawn/EssentialsSpawnPlayerListener.java
+++ b/EssentialsSpawn/src/com/earth2me/essentials/spawn/EssentialsSpawnPlayerListener.java
@@ -47,7 +47,7 @@ public class EssentialsSpawnPlayerListener implements Listener
if (ess.getSettings().getRespawnAtHome())
{
Location home;
- final Location bed = user.getBedSpawnLocation();
+ final Location bed = user.getBase().getBedSpawnLocation();
if (bed != null)
{
home = bed;
@@ -101,7 +101,7 @@ public class EssentialsSpawnPlayerListener implements Listener
@Override
public void run()
{
- if (!user.isOnline()) {
+ if (!user.getBase().isOnline()) {
return;
}