mirror of
https://github.com/essentials/Essentials.git
synced 2025-08-12 17:45:08 +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:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user