PLEASE HELP WITH CUSTOM ARMOR HELMET

Magi∆

Skeletron Prime
hello, i need help with my custom armor helmet. i can't get it to show up on my characters head. i would preferably like help by next week or less. i am on tmodloader version 1.3.5.3, and here is my code, tell me what to fix.

using System;
using System.Collections.Generic;
using Microsoft.Xna.Framework;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;

namespace ARandomMod.Items.Armor
{
[AutoloadEquip(EquipType.Helmet)]
public class MagiMask_Head : ModItem
{
public override void SetStaticDefaults()
{
Tooltip.SetDefault("Magi's mask. You shouldn't have this");
DisplayName.SetDefault("Magi's Mask");
}

public override void SetDefaults()
{
item.width = 18;
item.height = 18;
item.rare = 3;
item.vanity = true;
}

public override bool DrawHead()
{
return false; //this make so the player head does not disappear when the vanity mask is equipped. return false if you want to not show the player head.
}
public override void DrawHair(ref bool drawHair, ref bool drawAltHair)
{
drawHair = drawAltHair = false; //this make so the player hair does not show when the vanity mask is equipped. add true if you want to show the player hair.
}
public override void AddRecipes()
{

ModRecipe recipe = new ModRecipe(mod);
recipe.AddIngredient(ItemID.SpectreBar, 10000);
recipe.AddTile(TileID.WorkBenches);
recipe.SetResult(this);
recipe.AddRecipe();
}
}
}

MagisMask.png
 
Back
Top Bottom