From f0e310da6dfbf90572d01926652d8e55d76b6d73 Mon Sep 17 00:00:00 2001 From: Jesse Boyd Date: Thu, 20 Apr 2017 16:35:49 +1000 Subject: [PATCH] Fixes #491 --- build.gradle | 2 +- .../java/com/sk89q/worldedit/command/tool/FloodFillTool.java | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 76607298..c1fffe68 100644 --- a/build.gradle +++ b/build.gradle @@ -28,7 +28,7 @@ ext { date = git.head().date.format("yy.MM.dd") revision = "-${git.head().abbreviatedId}" parents = git.head().parentIds; - index = -88; // Offset to mach CI + index = -90; // Offset to mach CI int major, minor, patch; major = minor = patch = 0; for (;parents != null && !parents.isEmpty();index++) { diff --git a/core/src/main/java/com/sk89q/worldedit/command/tool/FloodFillTool.java b/core/src/main/java/com/sk89q/worldedit/command/tool/FloodFillTool.java index c485c6e7..8dd67877 100644 --- a/core/src/main/java/com/sk89q/worldedit/command/tool/FloodFillTool.java +++ b/core/src/main/java/com/sk89q/worldedit/command/tool/FloodFillTool.java @@ -79,6 +79,7 @@ public class FloodFillTool implements BlockTool { } catch (WorldEditException e) { throw new RuntimeException(e); } + editSession.flushQueue(); return true; }