mirror of
https://github.com/darksaid98/AntiCheatReloaded.git
synced 2026-12-01 22:14:49 +00:00
Fix fly false-positive while crouching on stairs. Addresses issue #58
This commit is contained in:
1 parent
8f47edd61e
commit
0ca74f2c18
2 files changed
+11
-1
No files matched your search
@@ -91,6 +91,12 @@ public final class Utilities
|
||||
return FOOD.contains(m);
|
||||
}
|
||||
|
||||
public static boolean isStair(Block block)
|
||||
{
|
||||
int id = block.getTypeId();
|
||||
return id == 53 || id == 67 || id == 108 || id == 109 || id == 114 || id == 128 || id == 134 || id == 135 || id == 136;
|
||||
}
|
||||
|
||||
public static boolean isInteractable(Material m)
|
||||
{
|
||||
return INTERACTABLE.contains(m);
|
||||
|
||||
Reference in new issue
Block a user