mirror of
https://github.com/essentials/Essentials.git
synced 2025-08-22 22:34:43 +02:00
Fix teleports on beds
This commit is contained in:
@@ -377,6 +377,11 @@ public class Util
|
||||
return true;
|
||||
}
|
||||
|
||||
if (below.getType() == Material.BED)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
if ((!AIR_MATERIALS.contains(world.getBlockAt(x, y, z).getType().getId()))
|
||||
|| (!AIR_MATERIALS.contains(world.getBlockAt(x, y + 1, z).getType().getId())))
|
||||
{
|
||||
|
Reference in New Issue
Block a user