Skip to content

Commit

Permalink
fixed a tooltip name issue with the tiny piles of blaze powders
Browse files Browse the repository at this point in the history
  • Loading branch information
GregoriusT committed Mar 30, 2024
1 parent f19e4b4 commit c0ef69a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/gregapi/GT_API_Proxy_Client.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) 2023 GregTech-6 Team
* Copyright (c) 2024 GregTech-6 Team
*
* This file is part of GregTech.
*
Expand Down Expand Up @@ -343,7 +343,7 @@ public void onItemTooltip(ItemTooltipEvent aEvent) {
aEvent.toolTip.set(0, aEvent.toolTip.get(0).replaceAll("Osmium", MT.Ge.mNameLocal));
}
if (tData.validPrefix()) {
if (tData.mPrefix == OP.dustTiny && ANY.Blaze.mToThis.contains(tData.mMaterial.mMaterial)) {
if (!ST.isGT(aItem) && tData.mPrefix == OP.dustTiny && ANY.Blaze.mToThis.contains(tData.mMaterial.mMaterial)) {
aEvent.toolTip.set(0, aEvent.toolTip.get(0).replaceAll(tData.mMaterial.mMaterial.mNameLocal, OP.dustTiny.mMaterialPre + tData.mMaterial.mMaterial.mNameLocal));
}
if (tData.mPrefix.contains(TD.Prefix.NEEDS_SHARPENING)) aEvent.toolTip.add(LH.Chat.CYAN + LH.get(LH.TOOLTIP_NEEDS_SHARPENING));
Expand Down

0 comments on commit c0ef69a

Please sign in to comment.