Skip to content

Commit fe7a071

Browse files
gave created plugin command a description
1 parent 7a8bff0 commit fe7a071

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/java/com/datasiqn/commandcore/CommandCore.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,7 @@ public static CommandCore getInstance() {
164164
constructor.setAccessible(true);
165165
command = constructor.newInstance(rootCommand, plugin);
166166
command.setAliases(options.getAliases());
167+
command.setDescription("Base plugin command");
167168
commandMap.register(rootCommand, plugin.getName(), command);
168169
} catch (NoSuchFieldException | IllegalAccessException | InvocationTargetException |
169170
InstantiationException | NoSuchMethodException e) {

0 commit comments

Comments
 (0)