This commit is contained in:
gnembon committed 2024-08-21 23:19:15 +02:00
1 parent f6d5529b07
commit 6d0c9597cd
9 files changed
+34 -29

No files matched your search

@@ -1348,7 +1348,7 @@ public class WorldAccess
int biomeZ = QuartPos.fromBlock(pos.getZ());
try
{
int i = QuartPos.fromBlock(chunk.getMinBuildHeight());
int i = QuartPos.fromBlock(chunk.getMinY());
int j = i + QuartPos.fromBlock(chunk.getHeight()) - 1;
int k = Mth.clamp(biomeY, i, j);
int l = chunk.getSectionIndex(QuartPos.toBlock(k));