CommandAPI icon indicating copy to clipboard operation
CommandAPI copied to clipboard

Add CommandArguments#getOrThrow

Open GliczDev opened this issue 5 months ago • 0 comments

Description

Even tho there is CommandArguments#getOptional, I think CommandArguments#getOrThrow-like (#getUncheckedOrThrow etc.) would be easier to use and much shorter than whatever this is: args.<String>getOptionalUnchecked("name").orElseThrow()

Expected code

basically CommandArguments#getOrThrow

Extra details

No response

GliczDev avatar Jul 27 '25 20:07 GliczDev