diff --git a/src/main/resources/core/patch.js b/src/main/resources/core/patch.js index f05898f..a56e033 100644 --- a/src/main/resources/core/patch.js +++ b/src/main/resources/core/patch.js @@ -6,4 +6,4 @@ Object.prototype.toJson = function(){ return JSON.stringify(this); } // YAML快速生成 -Object.prototype.toYaml = function(){ return require('modules/yaml').safeDump(plugin.config); } \ No newline at end of file +Object.prototype.toYaml = function(){ return require('modules/yaml').safeDump(this); } \ No newline at end of file