File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed
Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -408,6 +408,15 @@ This is the current roadmap for the CommandAPI (as of 30th April 2024):
408408 < /tr>
409409 < /thead>
410410 < tbody>
411+ < tr>
412+ < td valign=" top" ><b> 9.6.0< /b></td>
413+ < td valign=" top" > ??? < /td>
414+ < td valign=" top" >
415+ < ul>
416+ < li> https://github.com/JorelAli/CommandAPI/issues/577 Adds a < code> CommandAPIBukkit#failWithAdventureComponent(ComponentLike)< /code> method< /li>
417+ < /ul>
418+ < /td>
419+ < /tr>
411420 < tr>
412421 < td valign=" top" ><b> 9.5.1< /b></td>
413422 < td valign=" top" > June 2024< /td>
Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ throw CommandAPI.failWithString(String message);
77throw CommandAPI . failWithMessage(Message message);
88throw CommandAPIBukkit . failWithBaseComponents(BaseComponent . .. message);
99throw CommandAPIBukkit . failWithAdventureComponent(Component message);
10+ throw CommandAPIBukkit . failWithAdventureComponent(ComponentLike message);
1011```
1112
1213When the CommandAPI handles the fail method, it will cause the command to return a _ success value_ of 0, to indicate failure.
You can’t perform that action at this time.
0 commit comments