leetom can you check it works before updating core

This commit is contained in:
coolGi2007
2021-12-14 08:36:33 +00:00
parent 910350ba3a
commit d3e0f1e14d
@@ -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)
{