diff --git a/Content/Items/Materials/Coal.cs b/Content/Items/Materials/Coal.cs index 24765be..7aeac11 100644 --- a/Content/Items/Materials/Coal.cs +++ b/Content/Items/Materials/Coal.cs @@ -4,15 +4,16 @@ using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; +using Terraria; using Terraria.ModLoader; namespace continuity.Content.Items.Materials { - public class Coal : ModItem + public class Coal : GlobalItem { - public override void SetDefaults() + public override void SetDefaults(Item entity) { - Item.DefaultToPlaceableTile(ModContent.TileType()); + entity.DefaultToPlaceableTile(ModContent.TileType()); } } }