question: @ SuppressWarnings ( "RedundantIfStatement" ) public static boolean equals ( cn . nukkit . level . Location a , cn . nukkit . level . Location b ) { if ( Math . abs ( a . getX ( ) - b . getX ( ) ) > EQUALS_PRECISION ) return false ; if ( Math . abs ( a . getY ( ) - b . getY ( ) ) > EQUALS_PRECISION ) return false ; if ( Math . abs ( a . getZ ( ) - b . getZ ( ) ) > EQUALS_PRECISION ) return false ; return true ; }
target:  Nukkit's Location class has serious problems with floating point precision.