mirror of
https://github.com/Minestom/Minestom.git
synced 2025-01-20 07:02:32 +01:00
Slightly less restrictive package protection in MinestomRootClassLoader.
Should fix issue with Configurate not loading.
This commit is contained in:
parent
75ee08821f
commit
18771386c0
@ -42,12 +42,16 @@ public class MinestomRootClassLoader extends HierarchyClassLoader {
|
|||||||
};
|
};
|
||||||
public final Set<String> protectedPackages = new HashSet<>() {
|
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("com.mojang");
|
||||||
add("org.objectweb.asm");
|
add("org.objectweb.asm");
|
||||||
add("org.slf4j");
|
add("org.slf4j");
|
||||||
add("org.apache");
|
add("org.apache.logging");
|
||||||
add("org.spongepowered");
|
add("org.spongepowered.asm"); // Mixin
|
||||||
|
add("org.spongepowered.tools"); // Mixin
|
||||||
add("net.minestom.server.extras.selfmodification");
|
add("net.minestom.server.extras.selfmodification");
|
||||||
add("org.jboss.shrinkwrap.resolver");
|
add("org.jboss.shrinkwrap.resolver");
|
||||||
add("kotlin");
|
add("kotlin");
|
||||||
|
Loading…
Reference in New Issue
Block a user