Paul2708 / simple-commands

An (even more) simplified and intuitive command framework for Spigot.
MIT License
14 stars 2 forks source link

Optional argument matching #56

Closed Paul2708 closed 4 years ago

Paul2708 commented 4 years ago

Description

Commands, that are annotated with @Optional, won't match with user input in some cases.

Fix

You should write a CommandParser that will parse the commands properly. This class has to be testable.

Paul2708 commented 4 years ago

Fixed in https://github.com/Paul2708/simple-commands/commit/7bd8951c34986ac54c2477158fba1d824958e877 and the previous commits.