Slightly less restrictive package protection in MinestomRootClassLoader.

Should fix issue with Configurate not loading.
This commit is contained in:
jglrxavpok 2021-07-03 18:52:21 +02:00
parent 75ee08821f
commit 18771386c0

View File

@ -42,12 +42,16 @@ public class MinestomRootClassLoader extends HierarchyClassLoader {
};
public final Set<String> protectedPackages = new HashSet<>() {
{
add("com.google");
add("com.google.j2objc");
add("com.google.common"); // guava
add("com.google.errorprone");
add("com.google.gson");
add("com.mojang");
add("org.objectweb.asm");
add("org.slf4j");
add("org.apache");
add("org.spongepowered");
add("org.apache.logging");
add("org.spongepowered.asm"); // Mixin
add("org.spongepowered.tools"); // Mixin
add("net.minestom.server.extras.selfmodification");
add("org.jboss.shrinkwrap.resolver");
add("kotlin");