feat: 独立Bukkit插件部分 完善console输出 完善format格式化
This commit is contained in:
@ -17,14 +17,17 @@ var disable;
|
||||
try {
|
||||
init(root);
|
||||
} catch (ex) {
|
||||
throw ex;
|
||||
if(console.ex){
|
||||
console.ex(ex);
|
||||
}else{
|
||||
throw ex;
|
||||
}
|
||||
} finally {
|
||||
disable = disablePlugins
|
||||
}
|
||||
};
|
||||
|
||||
function release(root, regex, replace) {
|
||||
print(Array.prototype.join.call(arguments, ' '));
|
||||
var Files = Java.type("java.nio.file.Files");
|
||||
var Paths = Java.type("java.nio.file.Paths");
|
||||
var StandardCopyOption = Java.type("java.nio.file.StandardCopyOption");
|
||||
@ -55,7 +58,6 @@ var disable;
|
||||
}
|
||||
})
|
||||
} catch (ex) {
|
||||
|
||||
} finally {
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user