From 688732b9f81d707b4fc2f8856f5345cb823fb499 Mon Sep 17 00:00:00 2001 From: TudbuT Date: Sun, 9 Jun 2024 23:42:03 +0200 Subject: [PATCH] fix a very stupid nullptr --- .../com/baseband/launcher/classloader/CustomClassLoader.java | 1 + 1 file changed, 1 insertion(+) diff --git a/Loader/src/main/java/com/baseband/launcher/classloader/CustomClassLoader.java b/Loader/src/main/java/com/baseband/launcher/classloader/CustomClassLoader.java index a5d4792..afaaaa1 100644 --- a/Loader/src/main/java/com/baseband/launcher/classloader/CustomClassLoader.java +++ b/Loader/src/main/java/com/baseband/launcher/classloader/CustomClassLoader.java @@ -102,6 +102,7 @@ public class CustomClassLoader extends ClassLoader implements Util { URL r = Launch.classLoader.findResource(name); if(r == null) return super.findResource(name); + return r; } try { return URLWrapper.wrap(name, data[0]);