diff --git a/BlocksHub-CoreProtect/nbproject/project.properties b/BlocksHub-CoreProtect/nbproject/project.properties index 61d203e..c20269d 100644 --- a/BlocksHub-CoreProtect/nbproject/project.properties +++ b/BlocksHub-CoreProtect/nbproject/project.properties @@ -30,13 +30,11 @@ dist.javadoc.dir=${dist.dir}/javadoc endorsed.classpath= excludes= file.reference.BlocksHub.jar=lib/BlocksHub.jar -file.reference.CoreProtect.jar=lib/CoreProtect.jar file.reference.CoreProtect_2.12.0.jar=lib/CoreProtect_2.12.0.jar file.reference.craftbukkit-1.10.jar=lib/craftbukkit-1.10.jar includes=** jar.compress=true javac.classpath=\ - ${file.reference.CoreProtect.jar}:\ ${file.reference.BlocksHub.jar}:\ ${file.reference.craftbukkit-1.10.jar}:\ ${file.reference.CoreProtect_2.12.0.jar} diff --git a/BlocksHub-CoreProtect/src/org/primesoft/blockshub/logger/bukkit/coreProtect/CoreProtectLogger.java b/BlocksHub-CoreProtect/src/org/primesoft/blockshub/logger/bukkit/coreProtect/CoreProtectLogger.java index 88d8b48..4672a58 100644 --- a/BlocksHub-CoreProtect/src/org/primesoft/blockshub/logger/bukkit/coreProtect/CoreProtectLogger.java +++ b/BlocksHub-CoreProtect/src/org/primesoft/blockshub/logger/bukkit/coreProtect/CoreProtectLogger.java @@ -81,7 +81,7 @@ static IBlockLogger create(ILog logger, Object plugin) { } int apiVersion = coreProtect.APIVersion(); - if (apiVersion < 2) { + if (apiVersion < 4) { logger.log("unsupported plugin version"); return null; }