fix: [旧版]分类字符串改用ASCII的legacy,中文仅作显示名

中文分类名会导致/carpet list命令报拖尾数据错误。
This commit is contained in:
AxTps committed 2026-10-04 17:33:07 +08:00
1 parent ddb8699328
commit 9963664933
3 files changed
+3 -3

No files matched your search

@@ -7,7 +7,7 @@ public class SLSCarpetSettings {
public static final String NEED_CLIENT = "needClient"; // 需要客户端安装SLS-Addition或实现相关支持 public static final String NEED_CLIENT = "needClient"; // 需要客户端安装SLS-Addition或实现相关支持
public static final String FROM_AMS = "AMS"; public static final String FROM_AMS = "AMS";
public static final String SLSA = "SLS"; public static final String SLSA = "SLS";
public static final String LEGACY = "旧版"; public static final String LEGACY = "legacy";
@Rule(categories = {SLSA, RuleCategory.SURVIVAL}) @Rule(categories = {SLSA, RuleCategory.SURVIVAL})
public static boolean obtainableReinforcedDeepSlate = false; public static boolean obtainableReinforcedDeepSlate = false;
@@ -2,7 +2,7 @@
"carpet.category.pca": "PCA Adaption", "carpet.category.pca": "PCA Adaption",
"carpet.category.needClient":"Need client support", "carpet.category.needClient":"Need client support",
"carpet.category.protocol":"Protocol", "carpet.category.protocol":"Protocol",
"carpet.category.旧版": "Legacy", "carpet.category.legacy": "Legacy",
"carpet.rule.obtainableReinforcedDeepSlate.name": "Obtainable reinforced deep slate", "carpet.rule.obtainableReinforcedDeepSlate.name": "Obtainable reinforced deep slate",
@@ -2,7 +2,7 @@
"carpet.category.pca": "PCA适配", "carpet.category.pca": "PCA适配",
"carpet.category.needClient": "需要客户端支持", "carpet.category.needClient": "需要客户端支持",
"carpet.category.protocol": "协议", "carpet.category.protocol": "协议",
"carpet.category.旧版": "旧版", "carpet.category.legacy": "旧版",
"carpet.rule.obtainableReinforcedDeepSlate.name": "强化深板岩可获取", "carpet.rule.obtainableReinforcedDeepSlate.name": "强化深板岩可获取",