mac fix
This commit is contained in:
parent
3a945f190d
commit
610522bdd9
@ -634,10 +634,7 @@ public class UtilEnt
|
|||||||
//Fences/Walls
|
//Fences/Walls
|
||||||
Material beneath = player.getLocation().add(x, -1.5, z).getBlock().getType();
|
Material beneath = player.getLocation().add(x, -1.5, z).getBlock().getType();
|
||||||
if (player.getLocation().getY() % 0.5 == 0 &&
|
if (player.getLocation().getY() % 0.5 == 0 &&
|
||||||
(beneath == Material.FENCE ||
|
(beneath.toString().contains("FENCE") || beneath == Material.COBBLE_WALL))
|
||||||
beneath == Material.FENCE_GATE ||
|
|
||||||
beneath == Material.NETHER_FENCE ||
|
|
||||||
beneath == Material.COBBLE_WALL))
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user