Make worldposition's helper return a global chunkpos not subarea
This commit is contained in:
parent
9636519147
commit
cf2f0a165b
3 changed files with 3 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Reference in a new issue