onyx drill and wulf turtles cant break pyre mantle

This commit is contained in:
GinYuH committed 2023-08-12 04:22:35 -07:00
1 parent 16e1c32f24
commit 82c52dad54
2 files changed
+5 -1

No files matched your search

+2
View File
@@ -146,6 +146,8 @@ namespace CalamityMod.Items.Mounts
List<int> tileExcludeList = new List<int>()
{
ModContent.TileType<AbyssGravel>(),
ModContent.TileType<PyreMantle>(),
ModContent.TileType<PyreMantleMolten>(),
ModContent.TileType<Voidstone>(),
TileID.DemonAltar,
TileID.ElderCrystalStand
+3 -1
View File
@@ -647,7 +647,7 @@ namespace CalamityMod
/// Returns if a tile is safe to be mined in terms of it being "important"
/// </summary>
/// <param name="tile"></param>
/// <param name="ignoreAbyss">If voidstone and abyss gravel should be considered unsafe to mine</param>
/// <param name="ignoreAbyss">If abyss terrain blocks should be considered unsafe to mine</param>
/// <returns></returns>
public static bool ShouldBeMined(this Tile tile, bool ignoreAbyss = true)
{
@@ -659,6 +659,8 @@ namespace CalamityMod
if (ignoreAbyss)
{
tileExcludeList.Add(ModContent.TileType<AbyssGravel>());
tileExcludeList.Add(ModContent.TileType<PyreMantle>());
tileExcludeList.Add(ModContent.TileType<PyreMantleMolten>());
tileExcludeList.Add(ModContent.TileType<Voidstone>());
}