mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-10-23 00:28:02 +00:00
v2 parallax fixes!
This commit is contained in:
1 parent
b74a00de22
commit
f2339f26ca
10 files changed
+191
-67
No files matched your search
@@ -16,6 +16,23 @@ public class BlockPosition
|
||||
this.z = z;
|
||||
}
|
||||
|
||||
public boolean equals(Object o)
|
||||
{
|
||||
if(o == null)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
if(o instanceof BlockPosition)
|
||||
{
|
||||
BlockPosition ot = (BlockPosition) o;
|
||||
|
||||
return ot.x == x && ot.y == y && ot.z == z;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
public int getChunkX()
|
||||
{
|
||||
return x >> 4;
|
||||
|
||||
Reference in new issue
Block a user