summaryrefslogtreecommitdiff
path: root/NET/worlds/scape/PosableShape.java
diff options
context:
space:
mode:
authorFuwn <[email protected]>2026-02-13 01:37:09 -0800
committerFuwn <[email protected]>2026-02-13 01:38:24 -0800
commite98bc1e3da07fa47cfff74b71d4d3faed489d7a2 (patch)
treefa2f2c3a8a4c580584d45187e57a30fee7ae60fe /NET/worlds/scape/PosableShape.java
parentInitial commit (diff)
downloadworldsplayer-e98bc1e3da07fa47cfff74b71d4d3faed489d7a2.tar.xz
worldsplayer-e98bc1e3da07fa47cfff74b71d4d3faed489d7a2.zip
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)
Diffstat (limited to 'NET/worlds/scape/PosableShape.java')
-rw-r--r--NET/worlds/scape/PosableShape.java2
1 files changed, 1 insertions, 1 deletions
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<Object, Vector<Object>> 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");