mirror of
https://github.com/darksaid98/AntiCheatReloaded.git
synced 2026-12-03 14:38:46 +00:00
Add water as "climbable" to avoid swimming false-positives
This commit is contained in:
1 parent
6dd5b20629
commit
d7e792392c
1 file changed
+1
-1
@@ -297,7 +297,7 @@ public final class Utilities {
|
|||||||
* @return true if climbable
|
* @return true if climbable
|
||||||
*/
|
*/
|
||||||
public static boolean isClimbableBlock(Block block) {
|
public static boolean isClimbableBlock(Block block) {
|
||||||
return block.getType() == Material.VINE || block.getType() == Material.LADDER;
|
return block.getType() == Material.VINE || block.getType() == Material.LADDER || block.getType() == Material.WATER;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in new issue
Block a user