mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-04-06 15:56:27 +00:00
v2 parallax fixes!
This commit is contained in:
@@ -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