mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-01-31 01:44:22 +07:00
Fixed #5412
This commit is contained in:
parent
dfd2b22917
commit
83854169b7
@ -13,7 +13,6 @@ import com.android.dx.dex.cf.*;
|
||||
import com.android.dx.dex.file.DexFile;
|
||||
import com.android.dx.merge.*;
|
||||
import dalvik.system.*;
|
||||
import mindustry.*;
|
||||
import mindustry.mod.*;
|
||||
import rhino.*;
|
||||
|
||||
@ -67,9 +66,6 @@ public class AndroidRhinoContext{
|
||||
protected Context makeContext(){
|
||||
Context ctx = super.makeContext();
|
||||
ctx.setClassShutter(Scripts::allowClass);
|
||||
if(Vars.mods != null){
|
||||
ctx.setApplicationClassLoader(Vars.mods.mainLoader());
|
||||
}
|
||||
return ctx;
|
||||
}
|
||||
|
||||
|
@ -7,7 +7,6 @@ import arc.math.*;
|
||||
import arc.struct.*;
|
||||
import arc.util.*;
|
||||
import arc.util.serialization.*;
|
||||
import mindustry.*;
|
||||
import mindustry.mod.*;
|
||||
import mindustry.net.*;
|
||||
import mindustry.net.Net.*;
|
||||
@ -85,9 +84,6 @@ public interface Platform{
|
||||
protected Context makeContext(){
|
||||
Context ctx = super.makeContext();
|
||||
ctx.setClassShutter(Scripts::allowClass);
|
||||
if(Vars.mods != null){
|
||||
ctx.setApplicationClassLoader(Vars.mods.mainLoader());
|
||||
}
|
||||
return ctx;
|
||||
}
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user