mirror of
https://github.com/boy0001/FastAsyncWorldedit.git
synced 2024-11-14 22:55:56 +01:00
Fix WarpBrush
This commit is contained in:
parent
ca906cc8c3
commit
e1ab82d07b
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user