Make worldposition's helper return a global chunkpos not subarea

This commit is contained in:
Aria 2023-02-14 10:11:13 -07:00
parent 9636519147
commit cf2f0a165b
3 changed files with 3 additions and 2 deletions

View file

@ -118,6 +118,7 @@ public class WorldPosition
{
net.minecraft.world.level.ChunkPos mcChunk = getActualDimension().getChunkAt(Position.asBlockPos()).getPos();
ChunkPos pos = new ChunkPos(new Vector3(mcChunk.getMinBlockX(),-70,mcChunk.getMinBlockZ()), new Vector3(mcChunk.getMaxBlockX(), 400, mcChunk.getMaxBlockZ()));
pos.isSubArea=false;
return pos;
}