3
0
Mirror von https://github.com/IntellectualSites/FastAsyncWorldEdit.git synchronisiert 2024-11-03 01:50:07 +01:00

Updated for latest Sponge API changes

Dieser Commit ist enthalten in:
Wyatt Childers 2016-07-24 11:20:11 -04:00 committet von wizjany
Ursprung b99ea5ec6c
Commit 51d44f42fd

Datei anzeigen

@ -48,6 +48,7 @@ import org.spongepowered.api.event.cause.Cause;
import org.spongepowered.api.event.cause.NamedCause;
import org.spongepowered.api.event.cause.entity.spawn.SpawnCause;
import org.spongepowered.api.event.cause.entity.spawn.SpawnTypes;
import org.spongepowered.api.world.BlockChangeFlag;
import org.spongepowered.api.world.World;
import javax.annotation.Nullable;
@ -136,7 +137,7 @@ public abstract class SpongeWorld extends AbstractWorld {
.world(world.getProperties())
.build();
snapshot.restore(true, notifyAndLight);
snapshot.restore(true, notifyAndLight ? BlockChangeFlag.ALL : BlockChangeFlag.NONE);
// Create the TileEntity
if (block.hasNbtData()) {