Skip to content

Commit 66e8879

Browse files
committed
Add test toolkit to upgrading guide
1 parent 85f9122 commit 66e8879

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

docs/en/upgrading-parts/10.1.2-to-11.0.0.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@ commandapi-kotlin-core // [!code ++]
2222
commandapi-bukkit-kotlin // [!code --]
2323
commandapi-kotlin-paper // [!code ++]
2424
commandapi-kotlin-spigot // [!code ++]
25+
26+
commandapi-bukkit-test-toolkit // [!code --]
27+
commandapi-paper-test-toolkit // [!code --]
28+
commandapi-spigot-test-toolkit // [!code --]
2529
```
2630

2731
:::danger **Developer's Note:**
@@ -36,8 +40,7 @@ There again is no guarantee for any kind of compatibility.
3640

3741
#### Code changes
3842

39-
The `CommandAPIBukkitConfig` class has been converted into an abstract class and is no longer used to construct a config instance. Instead, use the new `CommandAPIPaperConfig` or
40-
`CommandAPISpigot` classes, depending on the module you use.
43+
The `CommandAPIBukkitConfig` class has been converted into an abstract class and is no longer used to construct a config instance. Instead, use the new `CommandAPIPaperConfig` or `CommandAPISpigotConfig` classes, depending on the module you use. If you were using `CommandAPIVersionHandler#usePlatformImplementation` from the test toolkit, `MockCommandAPIBukkit` has been changed to `MockCommandAPIPaper` or `MockCommandAPISpigot`. See the new documentation for [that method](/test/load-mock-commandapi#loading-a-custom-command-api-platform-implementation) for details.
4144

4245
Further changes have been made to arguments that work with components. The classes `AdventureChatArgument`, `AdventureChatComponentArgument` and `AdventureChatColorArgument` have been
4346
removed. Instead, the `ChatArgument`, `ChatComponentArgument` and `ChatColorArgument` have been implemented platform specific and return different types on Paper and Spigot.

0 commit comments

Comments
 (0)