diff options
author | KHobbits <rob@khobbits.co.uk> | 2013-02-01 02:59:40 +0000 |
---|---|---|
committer | KHobbits <rob@khobbits.co.uk> | 2013-02-01 02:59:40 +0000 |
commit | cd8ee29ca6a866c3323d0b7584d8675d90e5e5d7 (patch) | |
tree | 1437d8c7225c515fd79708bd7e9a46fc03ea43aa /EssentialsSpawn/src/com/earth2me/essentials/spawn | |
parent | 7b475e6ac79df3797013bbcd8c5fa6292292603d (diff) | |
download | Essentials-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/src/com/earth2me/essentials/spawn')
-rw-r--r-- | EssentialsSpawn/src/com/earth2me/essentials/spawn/EssentialsSpawnPlayerListener.java | 2 |
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; } |