Compare commits
No commits in common. "8e872e7ada5c1a2f16857e74e9adcbf8a868ff4a" and "3baf1eda9abdc4fcf8d5e396a14c7f1921d4d66c" have entirely different histories.
8e872e7ada
...
3baf1eda9a
@ -18,8 +18,8 @@ public record ExecutableSlashCommandDefinition(
|
|||||||
ExecutableSlashCommandDefinition other = (ExecutableSlashCommandDefinition) o;
|
ExecutableSlashCommandDefinition other = (ExecutableSlashCommandDefinition) o;
|
||||||
boolean equals = false;
|
boolean equals = false;
|
||||||
|
|
||||||
if (this.applicationCommand() != null && other.applicationCommand() != null)
|
if (this.applicationCommand() != null && other.subCommandGroup() != null)
|
||||||
equals = this.applicationCommand().name().equals(other.applicationCommand().name());
|
equals = this.applicationCommand.name().equals(other.applicationCommand().name());
|
||||||
|
|
||||||
if (this.subCommandGroup() != null && other.subCommandGroup() != null)
|
if (this.subCommandGroup() != null && other.subCommandGroup() != null)
|
||||||
equals = this.subCommandGroup().name().equals(other.subCommandGroup().name());
|
equals = this.subCommandGroup().name().equals(other.subCommandGroup().name());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user