fix null issue in InteractionRegistry
This commit is contained in:
parent
1ecbc563a6
commit
3d19fae6b8
@ -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()
|
||||
);
|
||||
});
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user