public override void UpdateAccessory(Player player, bool hideVisual)
        {
            ArmorPlatingPlayer modPlayer = player.GetModPlayer <ArmorPlatingPlayer>();

            modPlayer.active = true;
            if (modPlayer.Shield)
            {
                player.endurance += 0.3f;
            }
        }
        private static void Main_DrawPlayer(On.Terraria.Main.orig_DrawPlayer orig, Main self, Player drawPlayer, Vector2 Position, float rotation, Vector2 rotationOrigin, float shadow)
        {
            ArmorPlatingPlayer modPlayer = drawPlayer.GetModPlayer <ArmorPlatingPlayer>();

            orig(self, drawPlayer, Position, rotation, rotationOrigin, shadow);

            if (modPlayer.Shield)
            {
                DrawPlayerTarget(modPlayer.flickerTime, modPlayer.shieldTimer, drawPlayer);
            }
        }