diff --git a/proxy/src/main/java/net/md_5/bungee/BungeeSecurityManager.java b/proxy/src/main/java/net/md_5/bungee/BungeeSecurityManager.java index 956bd12b..6c56d4e6 100644 --- a/proxy/src/main/java/net/md_5/bungee/BungeeSecurityManager.java +++ b/proxy/src/main/java/net/md_5/bungee/BungeeSecurityManager.java @@ -26,7 +26,7 @@ public class BungeeSecurityManager extends SecurityManager // Allow external packages from the system class loader to create threads. if ( loader == null ) { - if ( !context[i].getName().startsWith( "java.lang" ) ) + if ( !context[i].getName().startsWith( "java" ) ) { break; }