fix: coal now doesn't replace every placeable block in the game 🤦
This commit is contained in:
parent
ae6f72c4c8
commit
3dc522dbc5
1 changed files with 4 additions and 3 deletions
|
@ -2,6 +2,7 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
|
using System.Net.Http.Headers;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using Terraria;
|
using Terraria;
|
||||||
|
@ -9,11 +10,11 @@ using Terraria.ModLoader;
|
||||||
|
|
||||||
namespace continuity.Content.Items.Materials
|
namespace continuity.Content.Items.Materials
|
||||||
{
|
{
|
||||||
public class Coal : GlobalItem
|
public class Coal : ModItem
|
||||||
{
|
{
|
||||||
public override void SetDefaults(Item entity)
|
public override void SetDefaults()
|
||||||
{
|
{
|
||||||
entity.DefaultToPlaceableTile(ModContent.TileType<CoalTile>());
|
Item.DefaultToPlaceableTile(ModContent.TileType<CoalTile>());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue