mirror of
https://github.com/darksaid98/AntiCheatReloaded.git
synced 2026-12-02 06:28:52 +00:00
Another small fix for mcMMO compatibility, also updated to 1.2
This commit is contained in:
1 parent
4e27dacab3
commit
b57883e795
6 files changed
+12
-9
No files matched your search
@@ -140,9 +140,9 @@ public class Backend
|
||||
micromanage = instance;
|
||||
}
|
||||
|
||||
public boolean checkLongReachBlock(double x,double y,double z)
|
||||
public boolean checkLongReachBlock(Player player,double x,double y,double z)
|
||||
{
|
||||
return x >= BLOCK_MAX_DISTANCE || y > BLOCK_MAX_DISTANCE || z > BLOCK_MAX_DISTANCE;
|
||||
return !Utilities.isUsingMcMMOAbility(player) && (x >= BLOCK_MAX_DISTANCE || y > BLOCK_MAX_DISTANCE || z > BLOCK_MAX_DISTANCE);
|
||||
}
|
||||
|
||||
public boolean checkLongReachDamage(double x,double y,double z)
|
||||
|
||||
Reference in new issue
Block a user