aboutsummaryrefslogtreecommitdiff
path: root/src/main/java
diff options
context:
space:
mode:
authorDoKM <mcazzyman@gmail.com>2021-07-23 12:17:50 +0200
committerDoKM <mcazzyman@gmail.com>2021-07-23 12:17:50 +0200
commita60641e46300fd90799ce9178676b89c5f2353f4 (patch)
tree157ed0ce3c1c49edb83bf9d833f00ea09de53788 /src/main/java
parentf69a7b921079d0cf6bd29fa8912e687ee3bc6d29 (diff)
downloadNotEnoughUpdates-a60641e46300fd90799ce9178676b89c5f2353f4.tar.gz
NotEnoughUpdates-a60641e46300fd90799ce9178676b89c5f2353f4.tar.bz2
NotEnoughUpdates-a60641e46300fd90799ce9178676b89c5f2353f4.zip
fix fishing helper ! not showing if rodcolours are off
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/io/github/moulberry/notenoughupdates/mixins/MixinRenderFish.java4
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 &&