From 11eaeaabe8b10e6fdd7a858191321fc35a33c004 Mon Sep 17 00:00:00 2001 From: xz Date: Thu, 20 Aug 2026 13:48:42 +0800 Subject: [PATCH] =?UTF-8?q?=E9=87=8D=E5=91=BD=E5=90=8D=E4=B8=8D=E5=90=88?= =?UTF-8?q?=E9=80=82=E6=A0=87=E8=AF=86=E7=AC=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- gradle.properties | 2 +- src/main/java/com/ataku/stopcheat/CommandInterceptor.java | 2 +- src/main/java/com/ataku/stopcheat/Config.java | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/gradle.properties b/gradle.properties index 4aea26e..9825f62 100644 --- a/gradle.properties +++ b/gradle.properties @@ -32,7 +32,7 @@ mod_name=stopcheat # The license of the mod. Review your options at https://choosealicense.com/. All Rights Reserved is the default. mod_license=MIT License # The mod version. See https://semver.org/ -mod_version=1.0.1 +mod_version=1.0.11 # The group ID for the mod. It is only important when publishing as an artifact to a Maven repository. # This should match the base package used for the mod sources. # See https://maven.apache.org/guides/mini/guide-naming-conventions.html diff --git a/src/main/java/com/ataku/stopcheat/CommandInterceptor.java b/src/main/java/com/ataku/stopcheat/CommandInterceptor.java index 76e2dfa..fbaecd5 100644 --- a/src/main/java/com/ataku/stopcheat/CommandInterceptor.java +++ b/src/main/java/com/ataku/stopcheat/CommandInterceptor.java @@ -23,7 +23,7 @@ public class CommandInterceptor { // 从Mod配置获取黑名单列表 private static List> blackList = initblackList(new ArrayList<>(Config.BLACKLIST.get())); - private static List opUUID = Config.BLACKUUID.get().stream() + private static List opUUID = Config.PASSUUID.get().stream() .map(s -> s.toLowerCase(Locale.ROOT)) .toList(); diff --git a/src/main/java/com/ataku/stopcheat/Config.java b/src/main/java/com/ataku/stopcheat/Config.java index e73fe0e..55a33df 100644 --- a/src/main/java/com/ataku/stopcheat/Config.java +++ b/src/main/java/com/ataku/stopcheat/Config.java @@ -22,9 +22,9 @@ public class Config { - public static final ModConfigSpec.ConfigValue> BLACKUUID = BUILDER + public static final ModConfigSpec.ConfigValue> PASSUUID = BUILDER .comment("不受约束的玩家UUID列表") - .defineList("blacked_players", List.of("aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa"), obj -> obj instanceof String); + .defineList("pass_users", List.of("aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa"), obj -> obj instanceof String); public static final ModConfigSpec.ConfigValue BROADCASTMSG = BUILDER