Examples of AlmostBoolean


Examples of fr.neatmonster.nocheatplus.compat.AlmostBoolean

   * Attempt to check for some exploits (!).
   *
   * @return
   */
  public boolean isIllegal() {
    final AlmostBoolean spec = mcAccess.isIllegalBounds(player);
    if (spec != AlmostBoolean.MAYBE) {
      return spec.decide();
    }
    else if (Math.abs(minX) > 3.2E7D || Math.abs(maxX) > 3.2E7D || Math.abs(minY) > 3.2E7D || Math.abs(maxY) > 3.2E7D || Math.abs(minZ) > 3.2E7D || Math.abs(maxZ) > 3.2E7D) return true;
    // if (Math.abs(box.a) > 3.2E7D || Math.abs(box.b) > 3.2E7D || Math.abs(box.c) > 3.2E7D || Math.abs(box.d) > 3.2E7D || Math.abs(box.e) > 3.2E7D || Math.abs(box.f) > 3.2E7D) return true;
    else return false;
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.