mirror of
https://github.com/CarmJos/UserPrefix.git
synced 2024-09-19 12:05:47 +00:00
fix(auto): 修复自动前缀判断错误的问题
This commit is contained in:
parent
2a0d6b8582
commit
a805aba42e
@ -209,7 +209,7 @@ public class UserManager {
|
||||
*/
|
||||
@NotNull
|
||||
public PrefixConfig getHighestPrefix(Player player) {
|
||||
if (PluginConfig.FUNCTIONS.AUTO_USE.getNotNull()) {
|
||||
if (!PluginConfig.FUNCTIONS.AUTO_USE.getNotNull()) {
|
||||
// 关闭了自动选择,就直接给默认的前缀,让玩家自己去设置吧~
|
||||
return UserPrefixAPI.getDefaultPrefix();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user