mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-04-07 08:16:31 +00:00
Totally stable optimizations that wont cause any problems at all.
This commit is contained in:
@@ -53,8 +53,7 @@ public class BlockPosition {
|
||||
return false;
|
||||
}
|
||||
|
||||
if (o instanceof BlockPosition) {
|
||||
BlockPosition ot = (BlockPosition) o;
|
||||
if (o instanceof BlockPosition ot) {
|
||||
|
||||
return ot.x == x && ot.y == y && ot.z == z;
|
||||
}
|
||||
@@ -85,7 +84,7 @@ public class BlockPosition {
|
||||
public static long toLong(int x, int y, int z) {
|
||||
long var3 = 0L;
|
||||
var3 |= (x & m4) << m3;
|
||||
var3 |= (y & m5) << 0L;
|
||||
var3 |= (y & m5);
|
||||
var3 |= (z & m6) << m2;
|
||||
return var3;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user