mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-22 17:27:38 +00:00
Allow editing solely of tiles/entities/heightmaps (#1817)
This commit is contained in:
parent
003cec30be
commit
8e5204c311
@ -296,7 +296,13 @@ public class CharSetBlocks extends CharBlocks implements IChunkSet {
|
||||
|
||||
@Override
|
||||
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;
|
||||
}
|
||||
//noinspection SimplifyStreamApiCallChains - this is faster than using #noneMatch
|
||||
|
Loading…
Reference in New Issue
Block a user