9
0
mirror of https://github.com/Winds-Studio/Leaf.git synced 2025-12-29 20:09:17 +00:00

[ci skip] Cleanup

This commit is contained in:
Dreeam
2025-07-31 12:20:39 +08:00
parent 276ca064a0
commit 1f7afdaf1f
2 changed files with 2 additions and 2 deletions

View File

@@ -18,7 +18,7 @@ index c1fccd64b1329e31ccf7e6a11853ce3a749b7ea4..6e0be8c43502aece01371554c3ff60cb
if (MAVEN_CENTRAL_URLS.stream().anyMatch(remoteRepository.getUrl()::startsWith)) {
LOGGER.warn(
- "Use of Maven Central as a CDN is against the Maven Central Terms of Service. Use MavenLibraryResolver.MAVEN_CENTRAL_DEFAULT_MIRROR instead.",
+ "Use of Maven Central as a CDN is against the Maven Central Terms of Service. Use MavenLibraryResolver.MAVEN_CENTRAL_DEFAULT_MIRROR instead. DO NOT report it to Paper or Leaf! Please contact plugin's support to adapt this change.", // Leaf - Better warning message for discouraging Maven Central as CDN
+ "Use of Maven Central as a CDN is against the Maven Central Terms of Service. Use MavenLibraryResolver.MAVEN_CENTRAL_DEFAULT_MIRROR instead. DO NOT report this to Paper or Leaf! Please contact plugin's support to adapt this change.", // Leaf - Better warning message for discouraging Maven Central as CDN
new RuntimeException("Plugin used Maven Central for library resolution")
);
}

View File

@@ -18,7 +18,7 @@ public class DynamicActivationofBrain extends ConfigModules {
return EnumConfigCategory.PERF.getBaseKeyName() + ".dab";
}
public static boolean enabled = true;
public static boolean enabled = false;
public static int startDistance = 12;
public static int startDistanceSquared;
public static int maximumActivationPrio = 20;