diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/CustomItemEffects.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/CustomItemEffects.java b/src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/CustomItemEffects.java index 65b80497..11a8393b 100644 --- a/src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/CustomItemEffects.java +++ b/src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/CustomItemEffects.java @@ -807,7 +807,8 @@ public class CustomItemEffects { if (heldInternal.equals("BLOCK_ZAPPER")) { onRenderBlockBlockZapper(event, onPrivateIsland, d0, d1, d2); } else if (NotEnoughUpdates.INSTANCE.config.itemOverlays.enableTreecapOverlay && - (heldInternal.equals("JUNGLE_AXE") || heldInternal.equals("TREECAPITATOR_AXE"))) { + (heldInternal.equals("JUNGLE_AXE") || heldInternal.equals("TREECAPITATOR_AXE")) && + ItemCooldowns.getDurabilityOverride(held) < 0) { onRenderBlockTreecap(event, heldInternal, d0, d1, d2); } else if (NotEnoughUpdates.INSTANCE.config.itemOverlays.enableWandOverlay) { onRenderBlockWandOverlay( |