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 | 705b193450c79f7f3e2ba7753b3416da9eb8fc3a (patch) | |
tree | e1a0e150d4193b12ab09fa1761c6f1e0b4231392 /EssentialsSpawn | |
parent | 20b9111495d6df863e8e3eab0a805a91d8537725 (diff) | |
download | Essentials-705b193450c79f7f3e2ba7753b3416da9eb8fc3a.tar Essentials-705b193450c79f7f3e2ba7753b3416da9eb8fc3a.tar.gz Essentials-705b193450c79f7f3e2ba7753b3416da9eb8fc3a.tar.lz Essentials-705b193450c79f7f3e2ba7753b3416da9eb8fc3a.tar.xz Essentials-705b193450c79f7f3e2ba7753b3416da9eb8fc3a.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.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; } |