mirror of
https://github.com/CarmJos/UserPrefix.git
synced 2026-06-04 15:28:21 +08:00
2.1.1版本更新 修复 “OnNamePrefix” 为false时存在的报错现象
This commit is contained in:
@@ -26,7 +26,7 @@ public class UserManager {
|
||||
|
||||
@Nullable
|
||||
public static UserNameTag getNameTag(Player player) {
|
||||
if (!PrefixConfig.Functions.NAME_PREFIX.get()) {
|
||||
if (PrefixConfig.Functions.NAME_PREFIX.get()) {
|
||||
if (nameTags.containsKey(player.getUniqueId())) {
|
||||
return nameTags.get(player.getUniqueId());
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user