13
0
geforkt von Mirrors/Paper

#1022: Fix get HighestBlockAt in chunk snapshot

By: Yannick Lamprecht <yannicklamprecht@live.de>
Dieser Commit ist enthalten in:
CraftBukkit/Spigot 2022-03-04 08:12:00 +11:00
Ursprung a6639b358f
Commit f43d18915d

Datei anzeigen

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