Terraria.Player.ToggleLight C# (CSharp) Method

ToggleLight() public method

public ToggleLight ( ) : void
return void
        public void ToggleLight()
        {
            this.hideMisc[1] = !this.hideMisc[1];
            if (!this.hideMisc[1])
                return;
            this.ClearBuff(this.miscEquips[1].buffType);
            if (this.miscEquips[1].buffType != 27)
                return;
            this.ClearBuff(102);
            this.ClearBuff(101);
        }
Player