Fix Detect Fluid Display (#1021)

This commit is contained in:
slprime authored and GitHub committed 2026-09-09 07:06:14 +03:00
1 parent f5fc4e704d
commit 5f6209366a
3 files changed
+3 -3

No files matched your search

@@ -78,7 +78,7 @@ class StatsPanel extends ScrollContainer {
this.icon = icon;
this.recipeId = recipeId;
this.multiplier = multiplier;
this.isFluidDisplay = StackInfo.itemStackToNBT(stack).hasKey("gtFluidName");
this.isFluidDisplay = StackInfo.isFluidDisplayItem(stack);
this.info = this.recipeId != null ? handlerInfo(this.recipeId.getHandlerName()) : null;
this.w = SLOT_SIZE;
this.h = SLOT_SIZE;