From e98bc1e3da07fa47cfff74b71d4d3faed489d7a2 Mon Sep 17 00:00:00 2001 From: Fuwn Date: Fri, 13 Feb 2026 01:37:09 -0800 Subject: fix: Decompilation artifact repairs for Java 11 compilation - Duplicate variable declarations in switch-case branches (AvMenu, ServerInputStream, netData, AnimatedAction) - Ambiguous null constructor calls requiring explicit casts (ExpireDialog, PosableShape) - Deprecated getPeer() replaced with isDisplayable() (PolledDialog) - Decompiler $assertionsDisabled artifact removed (BackgroundLoader) - Missing null-safety on unboxing (BooleanFieldEditorDialog) - Raw generic types parameterized (ShallowEnumeration) - Raw Enumeration cast added (Shape) --- NET/worlds/scape/PosableShape.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'NET/worlds/scape/PosableShape.java') diff --git a/NET/worlds/scape/PosableShape.java b/NET/worlds/scape/PosableShape.java index 7ed5610..d3caafe 100644 --- a/NET/worlds/scape/PosableShape.java +++ b/NET/worlds/scape/PosableShape.java @@ -65,7 +65,7 @@ public class PosableShape extends Shape implements FrameHandler, Prerenderable, }; private Hashtable> actions; private int scanPos; - private static Material origMat = new Material(null); + private static Material origMat = new Material((Texture)null); public static String base64 = "-0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ+"; private static String[] permittedList = ServerTableManager.instance().getTable("permittedList"); private static String[] faceList = ServerTableManager.instance().getTable("faceList"); -- cgit v1.2.3