From 3e3496ad12b893dacb9b6d666e0ce31cc723540e Mon Sep 17 00:00:00 2001 From: Intelli Date: Mon, 6 May 2024 18:18:56 -0600 Subject: [PATCH] Corrected version references in API v10 documentation --- docs/api/version/v10.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/api/version/v10.md b/docs/api/version/v10.md index 878b1c7..b7b5ae6 100644 --- a/docs/api/version/v10.md +++ b/docs/api/version/v10.md @@ -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: @@ -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; }