Skip to content

Commit

Permalink
Corrected version references in API v10 documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Intelli committed May 7, 2024
1 parent f3c631b commit 3e3496a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/api/version/v10.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ logRemoval(String user, BlockState blockState)

## Getting Started

Ensure you're using CoreProtect 21.0 or higher. Add it as an external jar to your plugin in your IDE.
Alternatively, if using Maven, you can add it via the repository [https://maven.playpro.com](https://maven.playpro.com) (net.coreprotect, 21.0).
Ensure you're using CoreProtect 23.0 or higher. Add it as an external jar to your plugin in your IDE.
Alternatively, if using Maven, you can add it via the repository [https://maven.playpro.com](https://maven.playpro.com) (net.coreprotect, 23.0).

The first thing you need to do is get access to CoreProtect. You can do this by using code similar to the following:

Expand All @@ -49,7 +49,7 @@ private CoreProtectAPI getCoreProtect() {
}

// Check that a compatible version of the API is loaded
if (CoreProtect.APIVersion() < 9) {
if (CoreProtect.APIVersion() < 10) {
return null;
}

Expand Down

0 comments on commit 3e3496a

Please sign in to comment.