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())); } }