From 19bf9d24bc316f76fc235d5088fe656a8c22cdfc Mon Sep 17 00:00:00 2001 From: tueem Date: Tue, 29 Oct 2024 15:42:22 +0100 Subject: [PATCH] fix further naming related to df94601816693e22e7ae44506fd0fe04a3bdabb5 --- .../net/tomatentum/marinara/registry/InteractionRegistry.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 90ce054..d64fa22 100644 --- a/lib/src/main/java/net/tomatentum/marinara/registry/InteractionRegistry.java +++ b/lib/src/main/java/net/tomatentum/marinara/registry/InteractionRegistry.java @@ -37,7 +37,7 @@ public class InteractionRegistry { execDefs.forEach((def) -> { Optional appDef = defs.stream() - .filter((x) -> x.getApplicationCommand().equals(def.applicationCommand())) + .filter((x) -> x.getSlashCommand().equals(def.applicationCommand())) .findFirst(); if (appDef.isPresent()) appDef.get().addExecutableCommand(def);