mirror of
https://hub.spigotmc.org/stash/scm/spigot/craftbukkit.git
synced 2025-08-31 22:30:15 +00:00
#1022: Fix get HighestBlockAt in chunk snapshot
This commit is contained in:
parent
86292d3e08
commit
ce373be660
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue