Skip to content
This repository has been archived by the owner on Jan 20, 2024. It is now read-only.

Commit

Permalink
NameTag: fix world prefix display
Browse files Browse the repository at this point in the history
  • Loading branch information
TheFaser committed Nov 16, 2023
1 parent f9d9364 commit 1b96e0e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/net/flectone/chat/model/player/FPlayer.java
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,8 @@ public void init() {

database.execute(this::reloadStreamPrefix);

registerTeam();
registerWorldPrefix();
registerTeam();
}

public void reloadStreamPrefix() {
Expand Down Expand Up @@ -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()));
}
}

Expand Down

0 comments on commit 1b96e0e

Please sign in to comment.