9
0
mirror of https://github.com/HibiscusMC/HMCCosmetics.git synced 2025-12-31 04:46:42 +00:00

Fixed double wardrobe message

This commit is contained in:
MasterOfTheFish
2022-02-20 23:15:53 -05:00
parent b7c80437e2
commit 5ba03402a0

View File

@@ -128,6 +128,7 @@ public class Wardrobe extends User {
}
public void despawnFakePlayer(final Player viewer) {
this.active = false;
final WardrobeSettings settings = this.plugin.getSettings().getWardrobeSettings();
Bukkit.getScheduler().runTaskLaterAsynchronously(
this.plugin,
@@ -141,7 +142,6 @@ public class Wardrobe extends User {
);
this.despawnAttached();
this.showPlayer(this.plugin.getUserManager());
this.active = false;
this.spawned = false;
this.cameraLocked = false;
this.currentLocation = null;