9
0
mirror of https://github.com/HibiscusMC/HMCCosmetics.git synced 2025-12-30 04:19:28 +00:00

feat: actionbar when player has hidden cosmetics

This commit is contained in:
LoJoSho
2023-06-27 09:43:56 -05:00
parent d7603b5108
commit b9e5096d33
2 changed files with 7 additions and 0 deletions

View File

@@ -59,6 +59,7 @@ public class CosmeticUser {
Runnable run = () -> {
MessagesUtil.sendDebugMessages("Tick[uuid=" + uniqueId + "]", Level.INFO);
updateCosmetic();
if (getHidden()) MessagesUtil.sendActionBar(getPlayer(), "hidden-cosmetics");
};
int tickPeriod = Settings.getTickPeriod();