9
0
mirror of https://github.com/HibiscusMC/HMCCosmetics.git synced 2026-01-03 22:26:21 +00:00

clean: move setWardrobeStatus to Lombok; make wardrobe update method private

This commit is contained in:
LoJoSho
2025-01-10 14:05:08 -06:00
parent 7116767e22
commit c3fcf760d7

View File

@@ -64,6 +64,7 @@ public class UserWardrobeManager {
private BossBar bossBar;
@Getter
private boolean active;
@Setter
@Getter
private WardrobeStatus wardrobeStatus;
@Getter
@@ -284,7 +285,7 @@ public class UserWardrobeManager {
run.run();
}
public void update() {
private void update() {
final AtomicInteger data = new AtomicInteger();
BukkitRunnable runnable = new BukkitRunnable() {
@@ -346,10 +347,6 @@ public class UserWardrobeManager {
runnable.runTaskTimer(HMCCosmeticsPlugin.getInstance(), 0, 2);
}
public void setWardrobeStatus(WardrobeStatus status) {
this.wardrobeStatus = status;
}
public enum WardrobeStatus {
SETUP,
STARTING,