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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user