diff --git a/lib/src/main/java/net/tomatentum/marinara/interaction/commands/ExecutableCommandDefinition.java b/lib/src/main/java/net/tomatentum/marinara/interaction/commands/ExecutableCommandDefinition.java index ceeec51..ac240c6 100644 --- a/lib/src/main/java/net/tomatentum/marinara/interaction/commands/ExecutableCommandDefinition.java +++ b/lib/src/main/java/net/tomatentum/marinara/interaction/commands/ExecutableCommandDefinition.java @@ -15,7 +15,7 @@ public record ExecutableCommandDefinition( if (!(o instanceof ExecutableCommandDefinition)) return false; ExecutableCommandDefinition other = (ExecutableCommandDefinition) o; - return other.applicationCommand.equals(this.applicationCommand) && + return other.applicationCommand.name().equals(this.applicationCommand.name()) && other.subCommandGroups.equals(this.subCommandGroups) && other.subCommand.equals(this.subCommand); }