Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-11-05 02:50:05 +01:00
Allow editing solely of tiles/entities/heightmaps (#1817)
Dieser Commit ist enthalten in:
Ursprung
003cec30be
Commit
8e5204c311
@ -296,7 +296,13 @@ public class CharSetBlocks extends CharBlocks implements IChunkSet {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean isEmpty() {
|
public boolean isEmpty() {
|
||||||
if (biomes != null || light != null || skyLight != null) {
|
if (biomes != null
|
||||||
|
|| light != null
|
||||||
|
|| skyLight != null
|
||||||
|
|| (entities != null && !entities.isEmpty())
|
||||||
|
|| (tiles != null && !tiles.isEmpty())
|
||||||
|
|| (entityRemoves != null && !entityRemoves.isEmpty())
|
||||||
|
|| (heightMaps != null && !heightMaps.isEmpty())) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
//noinspection SimplifyStreamApiCallChains - this is faster than using #noneMatch
|
//noinspection SimplifyStreamApiCallChains - this is faster than using #noneMatch
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren