diff --git a/uapi.behavior/src/main/java/uapi/behavior/internal/Behavior.java b/uapi.behavior/src/main/java/uapi/behavior/internal/Behavior.java index ca5602f..92da81a 100644 --- a/uapi.behavior/src/main/java/uapi/behavior/internal/Behavior.java +++ b/uapi.behavior/src/main/java/uapi/behavior/internal/Behavior.java @@ -374,8 +374,7 @@ private HeadAction( this._id = ActionIdentify.toActionId(HeadAction.class); this._outputMetas = new ActionOutputMeta[behaviorInputMetas.length]; Looper.on(behaviorInputMetas).foreachWithIndex((idx, inMeta) -> { - String outName = StringHelper.makeString("{}.{}", this._id.getName()); - this._outputMetas[idx] = new ActionOutputMeta(inMeta.type(), outName); + this._outputMetas[idx] = new ActionOutputMeta(inMeta.type()); }); } @@ -644,7 +643,7 @@ private IndexedOutput( boolean found = false; while (currentAction != null) { if (currentAction.label().equals(label)) { - if (index >= currentAction.outputMetas().length) { + if (index < currentAction.outputMetas().length) { found = true; } break;