From cd8ee29ca6a866c3323d0b7584d8675d90e5e5d7 Mon Sep 17 00:00:00 2001 From: KHobbits Date: Fri, 1 Feb 2013 02:59:40 +0000 Subject: Let Bukkit decide if a bedspawn is valid or not. Bukkit's bed fix forces minimum bukkit change. --- .../com/earth2me/essentials/spawn/EssentialsSpawnPlayerListener.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'EssentialsSpawn') 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; } -- cgit v1.2.3