mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-24 01:01:58 +01:00
#1022: Fix get HighestBlockAt in chunk snapshot
By: Yannick Lamprecht <yannicklamprecht@live.de>
This commit is contained in:
parent
a6639b358f
commit
f43d18915d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user