Allow multiple queued brush actions

This commit is contained in:
Jesse Boyd 2018-05-25 22:29:54 +10:00
parent 11dcafbcb8
commit 4049014cb8
No known key found for this signature in database
GPG Key ID: 59F1DE6293AF6E1F

View File

@ -366,7 +366,7 @@ public class PlatformManager {
selector.explainPrimarySelection(actor, session, vector); selector.explainPrimarySelection(actor, session, vector);
} }
} }
}, true, true); }, false, true);
event.setCancelled(true); event.setCancelled(true);
return; return;
@ -381,7 +381,7 @@ public class PlatformManager {
public void run() { public void run() {
reset(superPickaxe).actPrimary(queryCapability(Capability.WORLD_EDITING), getConfiguration(), player, session, location); reset(superPickaxe).actPrimary(queryCapability(Capability.WORLD_EDITING), getConfiguration(), player, session, location);
} }
}, true, true); }, false, true);
event.setCancelled(true); event.setCancelled(true);
return; return;
} }
@ -396,7 +396,7 @@ public class PlatformManager {
public void run() { public void run() {
reset(((DoubleActionBlockTool) tool)).actSecondary(queryCapability(Capability.WORLD_EDITING), getConfiguration(), player, session, location); reset(((DoubleActionBlockTool) tool)).actSecondary(queryCapability(Capability.WORLD_EDITING), getConfiguration(), player, session, location);
} }
}, true, true); }, false, true);
event.setCancelled(true); event.setCancelled(true);
return; return;
} }
@ -417,7 +417,7 @@ public class PlatformManager {
selector.explainSecondarySelection(actor, session, vector); selector.explainSecondarySelection(actor, session, vector);
} }
} }
}, true, true); }, false, true);
} }
event.setCancelled(true); event.setCancelled(true);
return; return;
@ -438,7 +438,7 @@ public class PlatformManager {
reset((BlockTool) tool).actPrimary(queryCapability(Capability.WORLD_EDITING), getConfiguration(), player, session, location); reset((BlockTool) tool).actPrimary(queryCapability(Capability.WORLD_EDITING), getConfiguration(), player, session, location);
} }
} }
}, true, true); }, false, true);
event.setCancelled(true); event.setCancelled(true);
return; return;
} }
@ -544,7 +544,7 @@ public class PlatformManager {
public void run() { public void run() {
reset((TraceTool) tool).actPrimary(queryCapability(Capability.WORLD_EDITING), getConfiguration(), player, session); reset((TraceTool) tool).actPrimary(queryCapability(Capability.WORLD_EDITING), getConfiguration(), player, session);
} }
}, true, true); }, false, true);
event.setCancelled(true); event.setCancelled(true);
return; return;
} }