Fix WarpBrush

This commit is contained in:
Jesse Boyd 2018-01-21 16:48:33 +11:00
parent ca906cc8c3
commit e1ab82d07b
No known key found for this signature in database
GPG Key ID: 59F1DE6293AF6E1F

View File

@ -363,6 +363,15 @@ public class Sniper {
}
});
break;
case "WarpBrush":
TaskManager.IMP.sync(new RunnableVal<Object>() {
@Override
public void run(Object value) {
Block bukkitTargetBlock = bukkitWorld.getBlockAt(targetBlock.getLocation());
brush.perform(snipeAction, snipeData, bukkitTargetBlock, lastBlock);
}
});
break;
default:
if (sniperTool.getCurrentBrush() instanceof PerformBrush) {
PerformBrush performerBrush = (PerformBrush) sniperTool.getCurrentBrush();