Can't fix this bug and nobody knows how to help :L

Bokhi

Terrarian
error im getting
stupid.PNG
here is the code of the item

using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
using Terraria.GameContent.Creative;
using Microsoft.Xna.Framework;
namespace IvorysWackyIdeas.Items
{
public class TerraShortShortSword : ModItem
{
// The Display Name and Tooltip of this item can be edited in the Localization/en-US_Mods.IvorysWackyIdeas.hjson file.

public override void SetDefaults()
{
Item.damage = 20;
Item.DamageType = DamageClass.Melee;
Item.width = 34;
Item.height = 34;
Item.useTime = 10;
Item.useTurn = true;
Item.useAnimation = 10;
Item.useStyle = 1;
Item.knockBack = 5;
Item.value = 10000;
Item.rare = 6;
Item.UseSound = SoundID.Item1;
Item.autoReuse = true;
Item.shootsEveryUse = true;
Item.shootSpeed = 10f;
Item.value = 350;
Item.scale = 0.8f;
Item.noUseGraphic = false;
Item.noMelee = true;
Item.shoot = ModContent.ProjectileType<TerraShortBeam>();
}
public override void AddRecipes()
{
Recipe recipe = CreateRecipe();
recipe.AddIngredient(ModContent.ItemType<TheAlmightyShortShortSword>());
recipe.AddIngredient(ModContent.ItemType<PlatinumShortShortSword>());
recipe.AddIngredient(ModContent.ItemType<GoldShortShortSword>());
recipe.AddIngredient(ModContent.ItemType<TungstenShortShortSword>());
recipe.AddIngredient(ModContent.ItemType<SilverShortShortSword>());
recipe.AddIngredient(ModContent.ItemType<LeadShortShortSword>());
recipe.AddIngredient(ModContent.ItemType<IronShortShortSword>());
recipe.AddIngredient(ModContent.ItemType<TinShortShortSword>());
recipe.AddIngredient(ModContent.ItemType<CopperShortShortSword>());
recipe.AddTile(TileID.MythrilAnvil);
recipe.Register();
}
}
}
this is my first time modding terraria so please use simple terms lol
 
Back
Top Bottom