summaryrefslogtreecommitdiffstats
path: root/EssentialsSpawn
diff options
context:
space:
mode:
authorKHobbits <rob@khobbits.co.uk>2013-02-01 02:59:40 +0000
committerKHobbits <rob@khobbits.co.uk>2013-02-01 02:59:40 +0000
commitcd8ee29ca6a866c3323d0b7584d8675d90e5e5d7 (patch)
tree1437d8c7225c515fd79708bd7e9a46fc03ea43aa /EssentialsSpawn
parent7b475e6ac79df3797013bbcd8c5fa6292292603d (diff)
downloadEssentials-cd8ee29ca6a866c3323d0b7584d8675d90e5e5d7.tar
Essentials-cd8ee29ca6a866c3323d0b7584d8675d90e5e5d7.tar.gz
Essentials-cd8ee29ca6a866c3323d0b7584d8675d90e5e5d7.tar.lz
Essentials-cd8ee29ca6a866c3323d0b7584d8675d90e5e5d7.tar.xz
Essentials-cd8ee29ca6a866c3323d0b7584d8675d90e5e5d7.zip
Let Bukkit decide if a bedspawn is valid or not.
Bukkit's bed fix forces minimum bukkit change.
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 a0d1ca643..391b6cf58 100644
--- a/EssentialsSpawn/src/com/earth2me/essentials/spawn/EssentialsSpawnPlayerListener.java
+++ b/EssentialsSpawn/src/com/earth2me/essentials/spawn/EssentialsSpawnPlayerListener.java
@@ -49,7 +49,7 @@ public class EssentialsSpawnPlayerListener implements Listener
{
Location home;
final Location bed = user.getBedSpawnLocation();
- if (bed != null && bed.getBlock().getType() == Material.BED_BLOCK)
+ if (bed != null)
{
home = bed;
}