Fixed Plague furniture compile errors
This commit is contained in:
1 parent
dcd97b7921
commit
abe1eb66c0
3 files changed
+4
-4
No files matched your search
@@ -1,4 +1,4 @@
|
||||
|
||||
using CalamityMod.Items.Placeables.FurniturePlagued;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Microsoft.Xna.Framework.Graphics;
|
||||
using Terraria;
|
||||
@@ -15,7 +15,7 @@ namespace CalamityMod.Tiles.FurniturePlaguedPlate
|
||||
Main.tileBlockLight[Type] = true;
|
||||
HitSound = SoundID.Tink;
|
||||
MineResist = 2.1f;
|
||||
ItemDrop = ModContent.ItemType<Items.Placeables.FurniturePlagued.PlaguedPlate>();
|
||||
ItemDrop = ModContent.ItemType<PlaguedContainmentBrick>();
|
||||
AddMapEntry(new Color(51, 99, 75));
|
||||
}
|
||||
|
||||
|
||||
@@ -59,7 +59,7 @@ namespace CalamityMod.Tiles.FurniturePlaguedPlate
|
||||
|
||||
public override void KillMultiTile(int i, int j, int frameX, int frameY)
|
||||
{
|
||||
Item.NewItem(new EntitySource_TileBreak(i, j), i * 16, j * 16, 16, 32, ModContent.ItemType<Items.Placeables.FurniturePlagued.PlaguedPlateBasin>());
|
||||
Item.NewItem(new EntitySource_TileBreak(i, j), i * 16, j * 16, 16, 32, ModContent.ItemType<Items.Placeables.FurniturePlagued.BrokenPlaguedBed>());
|
||||
}
|
||||
|
||||
public override void HitWire(int i, int j)
|
||||
|
||||
@@ -31,7 +31,7 @@ namespace CalamityMod.Tiles.FurniturePlaguedPlate
|
||||
|
||||
public override void KillMultiTile(int i, int j, int frameX, int frameY)
|
||||
{
|
||||
Item.NewItem(new EntitySource_TileBreak(i, j), i * 16, j * 16, 32, 16, ModContent.ItemType<Items.Placeables.FurniturePlagued.PlaguedPlateWorkbench>());
|
||||
Item.NewItem(new EntitySource_TileBreak(i, j), i * 16, j * 16, 32, 16, ModContent.ItemType<Items.Placeables.FurniturePlagued.PlaguedWorkBench>());
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user