implement BlockPosWrapper.getWorldPosition

This commit is contained in:
James Seibel
2021-10-30 16:26:12 -05:00
parent 2428449ab4
commit 45d9dbbfcf
@@ -89,7 +89,9 @@ public class ChunkPosWrapper
public BlockPosWrapper getWorldPosition()
{
return null;
// the parameter here is the y position
BlockPos blockPos = chunkPos.getMiddleBlockPosition(0);
return new BlockPosWrapper(blockPos.getX(), blockPos.getY(), blockPos.getZ());
}
}