From 1b96e0ec6c4676a2a31c8865d4bd68ba378ca281 Mon Sep 17 00:00:00 2001 From: TheFaser Date: Thu, 16 Nov 2023 16:41:48 +0500 Subject: [PATCH] NameTag: fix world prefix display --- src/main/java/net/flectone/chat/model/player/FPlayer.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/net/flectone/chat/model/player/FPlayer.java b/src/main/java/net/flectone/chat/model/player/FPlayer.java index 97200cb..0d83516 100644 --- a/src/main/java/net/flectone/chat/model/player/FPlayer.java +++ b/src/main/java/net/flectone/chat/model/player/FPlayer.java @@ -106,8 +106,8 @@ public void init() { database.execute(this::reloadStreamPrefix); - registerTeam(); registerWorldPrefix(); + registerTeam(); } public void reloadStreamPrefix() { @@ -158,7 +158,7 @@ public void unregisterTeam() { public void registerWorldPrefix() { FModule fModule = moduleManager.get(WorldModule.class); if (fModule instanceof WorldModule worldModule) { - worldModule.getPrefix(player, player.getWorld()); + setWorldPrefix(worldModule.getPrefix(player, player.getWorld())); } }