fix null issue in InteractionRegistry
All checks were successful
github-mirror / push-github (push) Successful in 4s
Build / Gradle-Build (push) Successful in 33s
Test / Gradle-Test (push) Successful in 44s

This commit is contained in:
Tueem 2024-12-19 18:34:00 +01:00
parent 1ecbc563a6
commit 3d19fae6b8
Signed by: tueem
GPG Key ID: F2CE0513D231AD7A

View File

@ -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()
);
});