From c889d48f8c39add26466bb5d75ae78b93a0324b5 Mon Sep 17 00:00:00 2001 From: Shane Freeder Date: Sat, 18 May 2024 21:17:54 +0100 Subject: [PATCH] Make PaperSimplePluginClassLoader show class which is not found --- patches/server/Paper-Plugins.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/patches/server/Paper-Plugins.patch b/patches/server/Paper-Plugins.patch index bfb73630ca..0a1af54ed8 100644 --- a/patches/server/Paper-Plugins.patch +++ b/patches/server/Paper-Plugins.patch @@ -1155,7 +1155,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000 + String path = name.replace('.', '/').concat(".class"); + JarEntry entry = this.jar.getJarEntry(path); + if (entry == null) { -+ throw new ClassNotFoundException(); ++ throw new ClassNotFoundException(name); + } + + // See URLClassLoader#defineClass(String, Resource)