mirror of
https://github.com/xzb23/Minecraft-Command-Permission-Control.git
synced 2026-11-22 08:44:36 +08:00
fix: 文档错误 and 修改不合适关键字
This commit is contained in:
4 files changed
+30
-30
No files matched your search
@@ -19,12 +19,12 @@ public class Config {
|
||||
.defineInRange("version", 1, 0, Integer.MAX_VALUE);
|
||||
|
||||
|
||||
public static final ModConfigSpec.ConfigValue<List<? extends String>> BLACKLIST = BUILDER
|
||||
public static final ModConfigSpec.ConfigValue<List<? extends String>> BLOCKLIST = BUILDER
|
||||
.comment("禁用的指令列表")
|
||||
.comment("格式为{cmd}:{checkIndex}:{arg1[,arg2,...]}")
|
||||
.comment("格式为{指令}:{禁用第几个参数}:禁用的参数1[,禁用的参数2,...]}")
|
||||
.comment("格式为{指令}:{禁用第几个参数}:{禁用的参数1[,禁用的参数2,...]}")
|
||||
.comment("其中{checkIndex}填0代表禁用整个指令")
|
||||
.defineList("blacked_commands", List.of("give:0:", "fill:0:", "gamemode:1:creative"), obj -> obj instanceof String);
|
||||
.defineList("blocked_commands", List.of("give:0:", "fill:0:", "gamemode:1:creative"), obj -> obj instanceof String);
|
||||
|
||||
|
||||
public static final ModConfigSpec.ConfigValue<List<? extends String>> PASSUUID = BUILDER
|
||||
|
||||
Reference in new issue
Block a user