Handling command failures documentation doesn't state the right method
JorelAli opened this issue · comments
Jorel Ali commented
Documentation URL
https://commandapi.jorel.dev/9.3.0/commandfailures.html
What the documentation currently says
throw CommandAPI.failWithString(String message);
throw CommandAPI.failWithMessage(Message message);
throw CommandAPI.failWithBaseComponents(BaseComponent... message);
throw CommandAPI.failWithAdventureComponent(Component message);
Proposed fix
It should state CommandAPIBukkit.failWithAdventureComponent
(etc.)
Maks Balamut commented
By the way, I noticed it yesterday
Jorel Ali commented
By the way, I noticed it yesterday
@Xemii16 Yes, thanks very much! I raised this because you mentioned this in the CommandAPI Discord server yesterday so we could keep track of this
Jorel Ali commented
Fixed in version 9.4.0.