mirror of
https://gitlab.com/phoenix-dvpmt/mmocore.git
synced 2025-11-18 06:24:17 +01:00
Action bar no longer shows while selecting a profile
This commit is contained in:
parent
1917f51cd9
commit
fd264ddfc2
@ -35,7 +35,7 @@ public class ActionBarManager extends BukkitRunnable {
|
||||
for (var player : PlayerData.getAll()) {
|
||||
|
||||
// Basic checks
|
||||
if (!player.isOnline() || player.getPlayer().isDead()) continue;
|
||||
if (!player.isOnline() || player.getPlayer().isDead() || !player.getMMOPlayerData().isPlaying()) continue;
|
||||
|
||||
// Check if action bar resource is free (small perf optimisation)
|
||||
var handler = player.getMMOPlayerData().getActionBar();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user