diff --git a/lib/src/main/java/net/tomatentum/marinara/registry/InteractionRegistry.java b/lib/src/main/java/net/tomatentum/marinara/registry/InteractionRegistry.java index 59ed25c..852676f 100644 --- a/lib/src/main/java/net/tomatentum/marinara/registry/InteractionRegistry.java +++ b/lib/src/main/java/net/tomatentum/marinara/registry/InteractionRegistry.java @@ -17,7 +17,7 @@ public class InteractionRegistry { wrapper.subscribeInteractions(this::handle); } - public void registerInteractions(InteractionHandler interactionHandler) { + public void addInteractions(InteractionHandler interactionHandler) { for (Method method : interactionHandler.getClass().getMethods()) { interactionMethods.add(InteractionMethod.create(method, interactionHandler, wrapper)); }