1
0
mirror of https://github.com/essentials/Essentials.git synced 2025-10-01 16:46:51 +02:00

Let Bukkit decide if a bedspawn is valid or not.

Bukkit's bed fix forces minimum bukkit change.
This commit is contained in:
KHobbits
2013-02-01 02:59:40 +00:00
parent 7b475e6ac7
commit cd8ee29ca6
4 changed files with 4 additions and 4 deletions

View File

@@ -354,7 +354,7 @@ public class Teleport implements Runnable, ITeleport
{
final Player player = user.getBase();
Location bed = player.getBedSpawnLocation();
if (bed != null && bed.getBlock().getType() == Material.BED_BLOCK)
if (bed != null)
{
now(new Target(bed), cause);
}