Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-09-07 00:22:51 +02: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 3ea725a863
)
Dieser Commit ist enthalten in:
Ursprung
fc47fd586c
Commit
d9a8c047a2
@ -142,7 +142,7 @@ public class ChunkHolder<T extends Future<T>> implements IQueueChunk<T> {
|
|||||||
@Override
|
@Override
|
||||||
public boolean hasBiomes(final int layer) {
|
public boolean hasBiomes(final int layer) {
|
||||||
// No need to go through delegate. hasBiomes is SET only.
|
// No need to go through delegate. hasBiomes is SET only.
|
||||||
return getOrCreateSet().hasBiomes(layer);
|
return chunkSet != null && chunkSet.hasBiomes(layer);
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean isInit() {
|
public boolean isInit() {
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren