From 19175e9f47f410c7ad04dded239527c59fad3920 Mon Sep 17 00:00:00 2001 From: Pavel Braginskiy Date: Tue, 21 Jan 2025 14:09:02 -0800 Subject: [PATCH] Fix ClassCastException when using getAero to get a DS --- megameklab/src/megameklab/ui/util/ITab.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/megameklab/src/megameklab/ui/util/ITab.java b/megameklab/src/megameklab/ui/util/ITab.java index ff18a0841..67ef93408 100644 --- a/megameklab/src/megameklab/ui/util/ITab.java +++ b/megameklab/src/megameklab/ui/util/ITab.java @@ -49,7 +49,7 @@ public VTOL getVTOL() { } public Aero getAero() { - return (AeroSpaceFighter) eSource.getEntity(); + return (Aero) eSource.getEntity(); } public SmallCraft getSmallCraft() {