I hope I fixed what james broke

This commit is contained in:
cola98765
2021-12-13 16:13:21 +01:00
parent 925ff3a1c7
commit a56bcfe58d
@@ -62,6 +62,15 @@ public class WrapperFactory implements IWrapperFactory
return new ChunkPosWrapper();
}
@Override
public AbstractChunkPosWrapper createChunkPos(long xAndZPositionCombined)
{
int x = (int) (xAndZPositionCombined & Integer.MAX_VALUE);
int z = (int) (xAndZPositionCombined >> Long.SIZE / 2) & Integer.MAX_VALUE;
return new ChunkPosWrapper(x, z);
}
@Override
public AbstractChunkPosWrapper createChunkPos(int x, int z)
{