private bool CanGetPastTile(int x, int y) { if (WorldGen.CheckTileBreakability(x, y) != 0) { return(false); } Tile tile = Main.tile[x, y]; return(!tile.active() || !TileID.Sets.Falling[(int)tile.type]); }
private bool CanGetPastTile(int x, int y) { if (WorldGen.CheckTileBreakability(x, y) != 0) { return(false); } Tile tile = Main.tile[x, y]; if (tile.active() && TileID.Sets.Falling[tile.type]) { return(false); } if (tile.active() && !WorldGen.CanKillTile(x, y)) { return(false); } return(true); }