fix: change coal from moditem to globalitem (bscly replace default useless coal)

This commit is contained in:
Abdulmujeeb Raji 2024-11-13 12:19:09 +00:00
parent e6e8fea951
commit 775781506d
Signed by untrusted user: midnadimple
GPG key ID: EB02C582F8C3962B

View file

@ -4,15 +4,16 @@ using System.Collections.Generic;
using System.Linq; using System.Linq;
using System.Text; using System.Text;
using System.Threading.Tasks; using System.Threading.Tasks;
using Terraria;
using Terraria.ModLoader; using Terraria.ModLoader;
namespace continuity.Content.Items.Materials 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<CoalTile>()); entity.DefaultToPlaceableTile(ModContent.TileType<CoalTile>());
} }
} }
} }