Updated core

This commit is contained in:
coolGi2007
2021-12-14 08:19:11 +00:00
parent ed41a7e449
commit a2abf0e210
2 changed files with 10 additions and 4 deletions
@@ -53,15 +53,21 @@ public class WrapperFactory implements IWrapperFactory
return new BlockPosWrapper(x,y,z);
}
@Override
public AbstractChunkPosWrapper createChunkPos()
{
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)
{
+1 -1
Submodule core updated: c811e6bad6...c389f3b391