From 1f7afdaf1fb3e7c234b07ba45bcc1bd8c2cebdac Mon Sep 17 00:00:00 2001 From: Dreeam <61569423+Dreeam-qwq@users.noreply.github.com> Date: Thu, 31 Jul 2025 12:20:39 +0800 Subject: [PATCH] [ci skip] Cleanup --- ...5-Better-warning-message-for-discouraging-Maven-Centra.patch | 2 +- .../leaf/config/modules/opt/DynamicActivationofBrain.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/leaf-api/paper-patches/features/0015-Better-warning-message-for-discouraging-Maven-Centra.patch b/leaf-api/paper-patches/features/0015-Better-warning-message-for-discouraging-Maven-Centra.patch index 59a91ab4..ee27a79d 100644 --- a/leaf-api/paper-patches/features/0015-Better-warning-message-for-discouraging-Maven-Centra.patch +++ b/leaf-api/paper-patches/features/0015-Better-warning-message-for-discouraging-Maven-Centra.patch @@ -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") ); } diff --git a/leaf-server/src/main/java/org/dreeam/leaf/config/modules/opt/DynamicActivationofBrain.java b/leaf-server/src/main/java/org/dreeam/leaf/config/modules/opt/DynamicActivationofBrain.java index 2a319c1d..c6917530 100644 --- a/leaf-server/src/main/java/org/dreeam/leaf/config/modules/opt/DynamicActivationofBrain.java +++ b/leaf-server/src/main/java/org/dreeam/leaf/config/modules/opt/DynamicActivationofBrain.java @@ -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;