From a60641e46300fd90799ce9178676b89c5f2353f4 Mon Sep 17 00:00:00 2001 From: DoKM Date: Fri, 23 Jul 2021 12:17:50 +0200 Subject: fix fishing helper ! not showing if rodcolours are off --- .../io/github/moulberry/notenoughupdates/mixins/MixinRenderFish.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main') diff --git a/src/main/java/io/github/moulberry/notenoughupdates/mixins/MixinRenderFish.java b/src/main/java/io/github/moulberry/notenoughupdates/mixins/MixinRenderFish.java index ee4f4cba..a5e34cd6 100644 --- a/src/main/java/io/github/moulberry/notenoughupdates/mixins/MixinRenderFish.java +++ b/src/main/java/io/github/moulberry/notenoughupdates/mixins/MixinRenderFish.java @@ -41,8 +41,8 @@ public abstract class MixinRenderFish extends Render { return; } - if(!(NotEnoughUpdates.INSTANCE.config.fishing.enableRodColours || - FishingHelper.getInstance().warningState != FishingHelper.PlayerWarningState.NOTHING) || entity == null) return; + if((!NotEnoughUpdates.INSTANCE.config.fishing.enableRodColours && + FishingHelper.getInstance().warningState == FishingHelper.PlayerWarningState.NOTHING) || entity == null) return; String internalname = NotEnoughUpdates.INSTANCE.manager.getInternalNameForItem(entity.angler.getHeldItem()); if (NotEnoughUpdates.INSTANCE.isOnSkyblock() && internalname != null && entity.angler != null && -- cgit