From 9072d1965611d5d1deea0d366fad32b61d93f91b Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 30 Dec 2023 18:53:21 +0000 Subject: [PATCH] Run prettier Co-authored-by: ZZZank <3410764033@qq.com> --- kubejs/startup_scripts/fluid_registry.js | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/kubejs/startup_scripts/fluid_registry.js b/kubejs/startup_scripts/fluid_registry.js index 1e5744346..4ae94c417 100644 --- a/kubejs/startup_scripts/fluid_registry.js +++ b/kubejs/startup_scripts/fluid_registry.js @@ -2,8 +2,8 @@ onEvent('fluid.registry', (event) => { /** * @type {{type:string,id:string,color:number,display?:string,still?:string,flowing?:string}[]} * @param type Can be `thin`, `thick`, or `custom` - * @param display Deprecated, DO NOT USE. Please switch to lang file. - * Tips: For a targeted fluid, its language key is `"fluid.kubejs.{id}"`, + * @param display Deprecated, DO NOT USE. Please switch to lang file. + * Tips: For a targeted fluid, its language key is `"fluid.kubejs.{id}"`, * and the language key for its bucket item is `"item.kubejs.{id}_bucket"` * @param still Valid only when `type` is `custom` * @param flowing Valid only when `type` is `custom` @@ -137,9 +137,7 @@ onEvent('fluid.registry', (event) => { console.error('Invalid fluid registry type: ' + fluid.type); } if (fluid.display) { - console.warn( - 'Deprecated param used: `display`, please switch to language file(kubejs/lang/en_us.json).' - ); + console.warn('Deprecated param used: `display`, please switch to language file(kubejs/lang/en_us.json).'); builder.displayName(fluid.display); } });