public static bool NotDoorStand(int x, int y) { if (Main.tile[x, y] == null || !Main.tile[x, y].active() || Main.tile[x, y].type != 11) return true; if (Main.tile[x, y].frameX >= 18) return Main.tile[x, y].frameX < 54; return false; }