Skip to content

Commit

Permalink
Load player tablist in LuckPermsListener synchronously
Browse files Browse the repository at this point in the history
  • Loading branch information
RappyTV committed Nov 5, 2024
1 parent 2e024bd commit 0937125
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ private void onUpdateEvent(User user) {

try {
if (player != null) {
plugin.getLuckPermsUtil().setTabPrefix(player);
Bukkit.getScheduler().scheduleSyncDelayedTask(plugin, () -> plugin.getLuckPermsUtil().setTabPrefix(player));
}
} catch (Exception ignored) {
}
Expand Down

0 comments on commit 0937125

Please sign in to comment.