sethome command now places bed even if theres grass
This commit is contained in:
parent
691105b2cb
commit
3be2986cea
@ -681,7 +681,7 @@ public class UtilBlock
|
||||
BlockState head = location.getBlock().getRelative(direction).getState();
|
||||
BlockState foot = location.getBlock().getState();
|
||||
|
||||
if (!force && (!head.getType().equals(Material.AIR) || !foot.getType().equals(Material.AIR)))
|
||||
if (!force && (!UtilItem.isBoundless(head.getType()) || !UtilItem.isBoundless(foot.getType())))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user