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:
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user