Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Potential Optional issue #105

aikar opened this issue Mar 6, 2018 · 1 comment


None yet
1 participant
Copy link

commented Mar 6, 2018

Re bug report @

Reported issue with @optional still firing InvalidCommandArgument


This comment has been minimized.

Copy link
Owner Author

commented Mar 8, 2018

can not reproduce


    public void onFoo(CommandSender sender, @Optional Long prestige, @Optional BigDecimal modifier) {
        sender.sendMessage("You gave " + (prestige != null ?  prestige : "null") + " prestige at " + (modifier != null ? modifier : "null") + " modifier");

@aikar aikar closed this Mar 8, 2018

@aikar aikar added the cant-reproduce label Mar 8, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.