diff --git a/numass-main/src/main/java/inr/numass/NumassPlugin.java b/numass-main/src/main/java/inr/numass/NumassPlugin.java index c8aabb3b..c1b7b9f8 100644 --- a/numass-main/src/main/java/inr/numass/NumassPlugin.java +++ b/numass-main/src/main/java/inr/numass/NumassPlugin.java @@ -77,7 +77,7 @@ public class NumassPlugin extends BasicPlugin { loadModels(fm.getModelManager()); loadMath(MathPlugin.buildFrom(context)); - ActionManager actions = new ActionManager(); + ActionManager actions = context.pluginManager().getOrLoad(ActionManager.class); actions.attach(context); actions.register(SlicingAction.class);