mirror of
https://github.com/darksaid98/AntiCheatReloaded.git
synced 2026-12-03 14:38:46 +00:00
Forget about fence gates
This commit is contained in:
1 parent
6fabd73432
commit
40985ac7d6
1 file changed
+1
-1
@@ -370,7 +370,7 @@ public final class Utilities {
|
|||||||
*/
|
*/
|
||||||
public static boolean isWall(final Block block) {
|
public static boolean isWall(final Block block) {
|
||||||
Material type = block.getType();
|
Material type = block.getType();
|
||||||
return type.name().endsWith("WALL") || type.name().endsWith("FENCE");
|
return type.name().endsWith("WALL") || type.name().endsWith("FENCE") || type.name().endsWith("FENCE_GATE");
|
||||||
}
|
}
|
||||||
|
|
||||||
public static boolean isNearWall(final Location location) {
|
public static boolean isNearWall(final Location location) {
|
||||||
|
|||||||
Reference in new issue
Block a user