public static bool CanExplode(int i, int j)
{
int type = Main.tile[i, j].type;
ModTile modTile = GetTile(type);
if (modTile != null && !modTile.CanExplode(i, j))
{
return(false);
}
foreach (var hook in HookCanExplode)
{
if (!hook(i, j, type))
{
return(false);
}
}
return(true);
}