mirror of
https://github.com/CarmJos/UserPrefix.git
synced 2024-09-19 20:15:47 +00:00
fix(conf): 修复玩家进服时无法读取配置文件而出现报错的问题。#42
This commit is contained in:
parent
7cf9f3f9ee
commit
36cc4bf7ce
2
pom.xml
2
pom.xml
@ -19,7 +19,7 @@
|
|||||||
|
|
||||||
<groupId>cc.carm.plugin</groupId>
|
<groupId>cc.carm.plugin</groupId>
|
||||||
<artifactId>userprefix</artifactId>
|
<artifactId>userprefix</artifactId>
|
||||||
<version>3.1.0</version>
|
<version>3.1.1</version>
|
||||||
|
|
||||||
<name>UserPrefix</name>
|
<name>UserPrefix</name>
|
||||||
<description>轻便、高效、实时的用户前缀系统。</description>
|
<description>轻便、高效、实时的用户前缀系统。</description>
|
||||||
|
@ -57,7 +57,7 @@ public class PluginConfig extends ConfigurationRoot {
|
|||||||
|
|
||||||
@ConfigPath("on-name-prefix")
|
@ConfigPath("on-name-prefix")
|
||||||
@HeaderComment({"头顶与TabList前缀功能,该方法用到了玩家名计分板接口,如有冲突请关掉哦~"})
|
@HeaderComment({"头顶与TabList前缀功能,该方法用到了玩家名计分板接口,如有冲突请关掉哦~"})
|
||||||
public static final class NAME_PREFIX {
|
public static final class NAME_PREFIX extends ConfigurationRoot {
|
||||||
|
|
||||||
@HeaderComment("是否开启本功能")
|
@HeaderComment("是否开启本功能")
|
||||||
public static final ConfigValue<Boolean> ENABLE = ConfiguredValue.of(Boolean.class, true);
|
public static final ConfigValue<Boolean> ENABLE = ConfiguredValue.of(Boolean.class, true);
|
||||||
|
Loading…
Reference in New Issue
Block a user