Update reach distances

This commit is contained in:
h31ix committed 2013-03-15 16:07:49 -04:00
1 parent 5f1ac209d4
commit 2e7b6a770a
4 files changed
+14 -29

No files matched your search

@@ -225,6 +225,7 @@ public class Backend {
return new CheckResult(Result.PASSED);
} else {
String string = player.getName()+" reached too far for a block";
System.out.println(x);
double i = x >= magic.BLOCK_MAX_DISTANCE ? x : y > magic.BLOCK_MAX_DISTANCE ? y : z > magic.BLOCK_MAX_DISTANCE ? z : -1;
if(i != -1) {
return new CheckResult(Result.FAILED, string+" (distance="+i+", max="+magic.BLOCK_MAX_DISTANCE+")");