Skip to content

HotFixes #2

Compare
Choose a tag to compare
@Mqzn Mqzn released this 16 May 05:57
· 48 commits to master since this release

What's new about 1.0.5?

  • Several bug fixes for subcommand default execution
  • Fixed throwing null pointer exceptions on empty syntax for default execution
  • Added Kotlin usage in some class for better readability and performance in specific classes
  • Added better error checks for detection of usage mistakes especially when using the annotated subcommand's inheritance system

Example on a subcommand with default execution:

@SubCommandInfo(name = "sub1", children = TestSub2.class, aliases = "s1")
@ExecutionMeta()
public final class TestSub1 {
  @Default
  public void info(ClientSender sender) {
    System.out.println("Default execution for sub1");
  }
}