public static bool SolidTile(Tile testTile)
{
try
{
if (testTile == null)
{
bool result = true;
return result;
}
if (testTile.active() && Main.tileSolid[(int)testTile.type] && !Main.tileSolidTop[(int)testTile.type] && !testTile.halfBrick() && testTile.slope() == 0 && !testTile.inActive())
{
bool result = true;
return result;
}
}
catch
{
}
return false;
}