diff options
author | DoKM <mcazzyman@gmail.com> | 2021-07-23 12:17:50 +0200 |
---|---|---|
committer | DoKM <mcazzyman@gmail.com> | 2021-07-23 12:17:50 +0200 |
commit | a60641e46300fd90799ce9178676b89c5f2353f4 (patch) | |
tree | 157ed0ce3c1c49edb83bf9d833f00ea09de53788 /src/main | |
parent | f69a7b921079d0cf6bd29fa8912e687ee3bc6d29 (diff) | |
download | NotEnoughUpdates-a60641e46300fd90799ce9178676b89c5f2353f4.tar.gz NotEnoughUpdates-a60641e46300fd90799ce9178676b89c5f2353f4.tar.bz2 NotEnoughUpdates-a60641e46300fd90799ce9178676b89c5f2353f4.zip |
fix fishing helper ! not showing if rodcolours are off
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/java/io/github/moulberry/notenoughupdates/mixins/MixinRenderFish.java | 4 |
1 files changed, 2 insertions, 2 deletions
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<EntityFishHook> { 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 && |