JS console / Scripting tweaks

This commit is contained in:
Anuken
2019-12-07 14:10:39 -05:00
parent 06abc43aea
commit dd5e3b2aba
22 changed files with 365 additions and 101 deletions
+2 -2
View File
@@ -1,5 +1,5 @@
const print = function(obj){
java.lang.System.out.println(obj ? String(obj) : "null")
const log = function(context, obj){
Vars.mods.getScripts().log(context, obj ? String(obj) : "null")
}
const extendContent = function(classType, name, params){