Removed script wrapper

This commit is contained in:
Anuken
2020-02-11 17:50:16 -05:00
parent fb302d49c7
commit 3102931cb4
5 changed files with 71 additions and 84 deletions
+5
View File
@@ -2,6 +2,11 @@ const log = function(context, obj){
Vars.mods.getScripts().log(context, obj ? String(obj) : "null")
}
var scriptName = "base.js"
var modName = "none"
const print = text => log(scriptName, text);
const extendContent = function(classType, name, params){
return new JavaAdapter(classType, params, name)
}