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 8bb8612..18e04b6 100644 --- a/lib/src/main/java/net/tomatentum/marinara/registry/InteractionRegistry.java +++ b/lib/src/main/java/net/tomatentum/marinara/registry/InteractionRegistry.java @@ -56,8 +56,8 @@ public class InteractionRegistry { logger.debug("Added Executable Command {}{}{} for registration", def.applicationCommand().name(), - def.subCommandGroup().name().isBlank() ? "" : "." + def.subCommandGroup().name(), - def.subCommand().name().isBlank() ? "" : "." + def.subCommand().name() + def.subCommandGroup() == null ? "" : "." + def.subCommandGroup().name(), + def.subCommand() == null ? "" : "." + def.subCommand().name() ); });