public static void MouseOverFar(int i, int j) { int type = Main.tile[i, j].type; ModTile modTile = GetTile(type); if (modTile != null) { modTile.MouseOverFar(i, j); } foreach (GlobalTile globalTile in globalTiles) { globalTile.MouseOverFar(i, j, type); } }