Forgot to flush VS brushes

This commit is contained in:
Jesse Boyd 2016-09-27 20:05:57 +10:00
parent 923bc9909a
commit 42a3203777
2 changed files with 2 additions and 0 deletions

View File

@ -151,6 +151,7 @@ public enum BBC {
SETTING_DISABLE("&cLacking setting: %s0","Error"),
SCHEMATIC_NOT_FOUND("&cSchematic not found: &7%s0", "Error"),
NO_REGION("&cYou have no current WorldEdit region", "Error"),
NO_MASK("&cYou have no current mask set", "Error"),
NOT_PLAYER("&cYou must be a player to perform this action!", "Error"),
PLAYER_NOT_FOUND("&cPlayer not found:&7 %s0", "Error"),
OOM(

View File

@ -91,6 +91,7 @@ public class Sniper {
}
if (tmpQueue != null) {
FaweChangeSet changeSet = tmpQueue.getChangeSet();
changeSet.flushAsync();
FawePlayer<Object> fp = FawePlayer.wrap(getPlayer());
LocalSession session = fp.getSession();
session.remember(changeSet.toEditSession(fp));