mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-12 16:27:47 +00:00
Use the FMLSecurityManager checkPermission(Permission) method for context-based permission checks. Fixes #2067
This commit is contained in:
1 parent
767d733948
commit
7689ea4f28
1 file changed
+6
@@ -37,6 +37,12 @@ public class FMLSecurityManager extends SecurityManager {
|
||||
return;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void checkPermission(Permission perm, Object context)
|
||||
{
|
||||
this.checkPermission(perm);
|
||||
}
|
||||
|
||||
public static class ExitTrappedException extends SecurityException {
|
||||
private static final long serialVersionUID = 1L;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user