mirror of
https://github.com/slhaf/Partner.git
synced 2026-05-12 08:43:02 +08:00
fix(ActionExecutor): correct phaser block logic in method execute
This commit is contained in:
@@ -85,11 +85,12 @@ public class ActionExecutor extends AgentRunningSubModule<ActionExecutorInput, V
|
|||||||
actionData.setExecutingStage(executingStage);
|
actionData.setExecutingStage(executingStage);
|
||||||
|
|
||||||
val metaActions = actionChain.get(executingStage);
|
val metaActions = actionChain.get(executingStage);
|
||||||
phaser.bulkRegister(metaActions.size());
|
val phase = phaser.bulkRegister(metaActions.size());
|
||||||
for (MetaAction metaAction : metaActions) {
|
for (MetaAction metaAction : metaActions) {
|
||||||
val executor = metaAction.isIo() ? virtualExecutor : platformExecutor;
|
val executor = metaAction.isIo() ? virtualExecutor : platformExecutor;
|
||||||
executor.execute(buildMataActionTask(metaAction, phaserRecord, userId));
|
executor.execute(buildMataActionTask(metaAction, phaserRecord, userId));
|
||||||
}
|
}
|
||||||
|
phaser.awaitAdvance(phase);
|
||||||
|
|
||||||
// TODO 进行行动链修正
|
// TODO 进行行动链修正
|
||||||
val correctorInput = assemblyHelper.buildCorrectorInput();
|
val correctorInput = assemblyHelper.buildCorrectorInput();
|
||||||
|
|||||||
Reference in New Issue
Block a user