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

Fix rogue wardrobe runnable

This commit is contained in:
LoJoSho
2023-02-11 19:48:39 -06:00
parent ad956259d0
commit 004f9ebef5

View File

@@ -223,7 +223,7 @@ public class UserWardrobeManager {
BukkitRunnable runnable = new BukkitRunnable() {
@Override
public void run() {
if (active == false) {
if (active == false || VIEWER.getPlayer() == null) {
MessagesUtil.sendDebugMessages("Active is false");
this.cancel();
return;