Skip to content

Commit 5edfecc

Browse files
committed
Update documentation and global changelog
1 parent 2d94c19 commit 5edfecc

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff 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>

docssrc/src/commandfailures.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ throw CommandAPI.failWithString(String message);
77
throw CommandAPI.failWithMessage(Message message);
88
throw CommandAPIBukkit.failWithBaseComponents(BaseComponent... message);
99
throw CommandAPIBukkit.failWithAdventureComponent(Component message);
10+
throw CommandAPIBukkit.failWithAdventureComponent(ComponentLike message);
1011
```
1112

1213
When the CommandAPI handles the fail method, it will cause the command to return a _success value_ of 0, to indicate failure.

0 commit comments

Comments
 (0)