fix: change coal from moditem to globalitem (bscly replace default useless coal)
This commit is contained in:
parent
e6e8fea951
commit
775781506d
1 changed files with 4 additions and 3 deletions
|
@ -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>());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue