Skip to content

Commit

Permalink
Make GT_FluidDisplayItem.getChemicalFormula static (#1640)
Browse files Browse the repository at this point in the history
  • Loading branch information
miozune committed Jan 8, 2023
1 parent 18139b7 commit 859968c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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)) {
Expand Down

0 comments on commit 859968c

Please sign in to comment.