fix: vanish self care broken after reconnecting

This commit is contained in:
ChomeNS
2025-05-05 17:35:50 +07:00
parent 2b23074b1e
commit b38f2a7e1b
2 changed files with 7 additions and 1 deletions

View File

@@ -38,4 +38,10 @@ public class VanishSelfCare extends EssentialsSelfCare {
public void run () {
this.runCommand("essentials:vanish " + getUsernameOrBlank() + (this.visible ? "disable" : "enable"));
}
@Override
public void cleanup () {
super.cleanup();
this.isVanished = false;
}
}