mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-22 17:27:38 +00:00
don't create chunk set if it doesn't already exist when checking for biomes
It shouldn't ever create the set at this point though (cherry picked from commit 3ea725a863c148c12884b3f5a94262eb58b5deaa)
This commit is contained in:
parent
fc47fd586c
commit
d9a8c047a2
@ -142,7 +142,7 @@ public class ChunkHolder<T extends Future<T>> implements IQueueChunk<T> {
|
||||
@Override
|
||||
public boolean hasBiomes(final int layer) {
|
||||
// No need to go through delegate. hasBiomes is SET only.
|
||||
return getOrCreateSet().hasBiomes(layer);
|
||||
return chunkSet != null && chunkSet.hasBiomes(layer);
|
||||
}
|
||||
|
||||
public boolean isInit() {
|
||||
|
Loading…
Reference in New Issue
Block a user