Skip to content

Commit

Permalink
fix: simplify float check
Browse files Browse the repository at this point in the history
Co-authored-by: Step7750 <[email protected]>
  • Loading branch information
GODrums and Step7750 authored Nov 26, 2024
1 parent 1e4f2f8 commit fe2746e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/components/inventory/selected_item_info.ts
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ export class SelectedItemInfo extends FloatElement {
}

renderFloatBar(): TemplateResult<1> {
if (!this.itemInfo || !(this.itemInfo.floatvalue > 0)) {
if (!this.itemInfo || !this.itemInfo.floatvalue) {
return html``;
}

Expand Down

0 comments on commit fe2746e

Please sign in to comment.