mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-19 11:59:25 +00:00
Update mcp mappings to 20170611
This commit is contained in:
1 parent
864b05074e
commit
3d322ef925
48 files changed
+213
-211
No files matched your search
@@ -42,10 +42,10 @@ public class ChunkCoordComparator implements java.util.Comparator<ChunkPos>
|
||||
}
|
||||
|
||||
// Subtract current position to set center point
|
||||
int ax = a.chunkXPos - this.x;
|
||||
int az = a.chunkZPos - this.z;
|
||||
int bx = b.chunkXPos - this.x;
|
||||
int bz = b.chunkZPos - this.z;
|
||||
int ax = a.x - this.x;
|
||||
int az = a.z - this.z;
|
||||
int bx = b.x - this.x;
|
||||
int bz = b.z - this.z;
|
||||
int result = ((ax - bx) * (ax + bx)) + ((az - bz) * (az + bz));
|
||||
|
||||
if (result != 0)
|
||||
|
||||
Reference in new issue
Block a user