From 859968c7cc823784a793b6d6457fca198bec897a Mon Sep 17 00:00:00 2001 From: miozune Date: Sun, 8 Jan 2023 20:26:47 +0900 Subject: [PATCH] Make GT_FluidDisplayItem.getChemicalFormula static (#1640) --- src/main/java/gregtech/common/items/GT_FluidDisplayItem.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/gregtech/common/items/GT_FluidDisplayItem.java b/src/main/java/gregtech/common/items/GT_FluidDisplayItem.java index cc3a52023d7..373147a7380 100644 --- a/src/main/java/gregtech/common/items/GT_FluidDisplayItem.java +++ b/src/main/java/gregtech/common/items/GT_FluidDisplayItem.java @@ -108,7 +108,7 @@ public String getItemStackDisplayName(ItemStack aStack) { } @SideOnly(Side.CLIENT) - public String getChemicalFormula(FluidStack aRealFluid) { + public static String getChemicalFormula(FluidStack aRealFluid) { return sFluidTooltips.computeIfAbsent(aRealFluid.getFluid(), fluid -> { for (ItemStack tContainer : GT_Utility.getContainersFromFluid(aRealFluid)) { if (isCell(tContainer)) {