public void TogglePet() { this.hideMisc[0] = !this.hideMisc[0]; if (!this.hideMisc[0]) return; this.ClearBuff(this.miscEquips[0].buffType); }