Skip to content

Commit

Permalink
Run prettier
Browse files Browse the repository at this point in the history
Co-authored-by: ZZZank <[email protected]>
  • Loading branch information
github-actions[bot] and ZZZank committed Dec 30, 2023
1 parent d5d22f6 commit 9072d19
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions kubejs/startup_scripts/fluid_registry.js
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down Expand Up @@ -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);
}
});
Expand Down

0 comments on commit 9072d19

Please sign in to comment.