From fbd6f13fdb3d641073ea7cba1df8faf3f1c9861a Mon Sep 17 00:00:00 2001 From: Matthew Miller Date: Sat, 16 Dec 2017 18:01:31 +1000 Subject: [PATCH] Update for BlockChangeFlags change --- .../src/main/java/com/sk89q/worldedit/sponge/SpongeWorld.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/worldedit-sponge/src/main/java/com/sk89q/worldedit/sponge/SpongeWorld.java b/worldedit-sponge/src/main/java/com/sk89q/worldedit/sponge/SpongeWorld.java index 0bc63daeb..b0a2405a9 100644 --- a/worldedit-sponge/src/main/java/com/sk89q/worldedit/sponge/SpongeWorld.java +++ b/worldedit-sponge/src/main/java/com/sk89q/worldedit/sponge/SpongeWorld.java @@ -43,7 +43,7 @@ import org.spongepowered.api.data.property.block.GroundLuminanceProperty; import org.spongepowered.api.data.property.block.SkyLuminanceProperty; import org.spongepowered.api.entity.EntityType; import org.spongepowered.api.entity.EntityTypes; -import org.spongepowered.api.world.BlockChangeFlag; +import org.spongepowered.api.world.BlockChangeFlags; import org.spongepowered.api.world.World; import javax.annotation.Nullable; @@ -129,7 +129,7 @@ public abstract class SpongeWorld extends AbstractWorld { .world(world.getProperties()) .build(); - snapshot.restore(true, notifyAndLight ? BlockChangeFlag.ALL : BlockChangeFlag.NONE); + snapshot.restore(true, notifyAndLight ? BlockChangeFlags.ALL : BlockChangeFlags.NONE); // Create the TileEntity if (block.hasNbtData()) {