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
Dieser Commit ist enthalten in:
dordsor21 2021-09-12 11:33:12 +01:00
Ursprung 5a9ad2e689
Commit 3ea725a863
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 1E53E88969FFCF0B

Datei anzeigen

@ -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() {