mirror of
https://github.com/darksaid98/AntiCheatReloaded.git
synced 2026-12-02 22:16:03 +00:00
Beautiful application of formatting, Thank's @mbax!
This commit is contained in:
1 parent
b1e4f0505f
commit
c59d93b0a7
1 file changed
+6
-6
@@ -282,12 +282,12 @@ public class Backend
|
|||||||
double y = targetBlock.getY() - playerClick.getY() * ((targetBlock.getY() - playerClick.getY() * 1) < 0 ? -1 : 1);
|
double y = targetBlock.getY() - playerClick.getY() * ((targetBlock.getY() - playerClick.getY() * 1) < 0 ? -1 : 1);
|
||||||
double z = targetBlock.getZ() - playerClick.getZ() * ((targetBlock.getZ() - playerClick.getZ() * 1) < 0 ? -1 : 1);
|
double z = targetBlock.getZ() - playerClick.getZ() * ((targetBlock.getZ() - playerClick.getZ() * 1) < 0 ? -1 : 1);
|
||||||
|
|
||||||
player.sendMessage("X: " + x + " Y: " + y + " Z: " + z);
|
if (x >= VISUALS_MAXOFFSET)
|
||||||
|
strikes++;
|
||||||
if (x >= VISUALS_MAXOFFSET) strikes++;
|
if (y >= VISUALS_MAXOFFSET)
|
||||||
if (y >= VISUALS_MAXOFFSET) strikes++;
|
strikes++;
|
||||||
if (z >= VISUALS_MAXOFFSET) strikes++;
|
if (z >= VISUALS_MAXOFFSET)
|
||||||
|
strikes++;
|
||||||
|
|
||||||
return strikes > 0;
|
return strikes > 0;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user