diff options
author | GlodBlock <60341015+GlodBlock@users.noreply.github.com> | 2021-09-30 22:01:29 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-30 22:01:29 +0800 |
commit | 6dfd7aa8e45be58ba9af25e41157ec98512e261a (patch) | |
tree | 46618c6e7c96a2b9fefc05ed1131604b92fe185a /src | |
parent | 4b0425a1c52f769b21cbf432449198269bed3a5e (diff) | |
download | GT5-Unofficial-6dfd7aa8e45be58ba9af25e41157ec98512e261a.tar.gz GT5-Unofficial-6dfd7aa8e45be58ba9af25e41157ec98512e261a.tar.bz2 GT5-Unofficial-6dfd7aa8e45be58ba9af25e41157ec98512e261a.zip |
small change
follow TimeConqueror's suggestion
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/gregtech/common/items/GT_FluidDisplayItem.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/gregtech/common/items/GT_FluidDisplayItem.java b/src/main/java/gregtech/common/items/GT_FluidDisplayItem.java index ab9047d518..ad4e1f6bdd 100644 --- a/src/main/java/gregtech/common/items/GT_FluidDisplayItem.java +++ b/src/main/java/gregtech/common/items/GT_FluidDisplayItem.java @@ -40,7 +40,7 @@ public class GT_FluidDisplayItem extends GT_Generic_Item { protected void addAdditionalToolTips(List aList, ItemStack aStack, EntityPlayer aPlayer) { if (FluidRegistry.getFluid(aStack.getItemDamage()) != null) { String tChemicalFormula = getChemicalFormula(new FluidStack(FluidRegistry.getFluid(aStack.getItemDamage()), 1)); - if (!tChemicalFormula.equals("")) aList.add(EnumChatFormatting.GRAY + tChemicalFormula + EnumChatFormatting.GRAY); + if (!tChemicalFormula.isEmpty()) aList.add(EnumChatFormatting.GRAY + tChemicalFormula + EnumChatFormatting.GRAY); } NBTTagCompound aNBT = aStack.getTagCompound(); if (GT_Values.D1) { |