#1022: Fix get HighestBlockAt in chunk snapshot

This commit is contained in:
Yannick Lamprecht 2022-03-04 08:12:00 +11:00 committed by md_5
parent 86292d3e08
commit ce373be660
No known key found for this signature in database
GPG Key ID: E8E901AC7C617C11

View File

@ -122,7 +122,7 @@ public class CraftChunkSnapshot implements ChunkSnapshot {
Preconditions.checkState(hmap != null, "ChunkSnapshot created without height map. Please call getSnapshot with includeMaxblocky=true");
validateChunkCoordinates(x, 0, z);
return hmap.getFirstAvailable(x, z);
return hmap.getHighestTaken(x, z);
}
@Override