mirror of
https://github.com/darksaid98/AntiCheatReloaded.git
synced 2026-12-02 06:28:52 +00:00
Tightened velocity check, fixed issues with slime block
This commit is contained in:
1 parent
27bb684736
commit
df3c410436
3 files changed
+4
-3
No files matched your search
@@ -118,7 +118,7 @@ public final class Utilities {
|
||||
|
||||
public static boolean isNotNearSlime(Block block) {
|
||||
return !isSlime(block.getRelative(BlockFace.NORTH)) && !isSlime(block.getRelative(BlockFace.EAST))
|
||||
&& !isSlime(block.getRelative(BlockFace.SOUTH)) && !isSlime(block.getRelative(BlockFace.WEST));
|
||||
&& !isSlime(block.getRelative(BlockFace.SOUTH)) && !isSlime(block.getRelative(BlockFace.WEST)) && !isSlime(block.getRelative(BlockFace.DOWN));
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user