Another small fix for mcMMO compatibility, also updated to 1.2

This commit is contained in:
H31IX committed 2012-06-02 13:55:46 -04:00
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)