aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNopoTheGamer <40329022+NopoTheGamer@users.noreply.github.com>2022-12-24 04:23:46 +1100
committerGitHub <noreply@github.com>2022-12-23 18:23:46 +0100
commitbd96ab7fcbdba398022686df9ad6ec2acf7a7281 (patch)
treea22f8d049a50443eee43aaf30755a6f70a7180da
parentdf8663e5958fe43d0c68fde3f4d31e45b2f15da1 (diff)
downloadNotEnoughUpdates-bd96ab7fcbdba398022686df9ad6ec2acf7a7281.tar.gz
NotEnoughUpdates-bd96ab7fcbdba398022686df9ad6ec2acf7a7281.tar.bz2
NotEnoughUpdates-bd96ab7fcbdba398022686df9ad6ec2acf7a7281.zip
fix farming overlay showing the wrong skill sometimes (#500)
-rw-r--r--src/main/java/io/github/moulberry/notenoughupdates/overlays/FarmingSkillOverlay.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main/java/io/github/moulberry/notenoughupdates/overlays/FarmingSkillOverlay.java b/src/main/java/io/github/moulberry/notenoughupdates/overlays/FarmingSkillOverlay.java
index 08cbb189..51f3d351 100644
--- a/src/main/java/io/github/moulberry/notenoughupdates/overlays/FarmingSkillOverlay.java
+++ b/src/main/java/io/github/moulberry/notenoughupdates/overlays/FarmingSkillOverlay.java
@@ -167,6 +167,9 @@ public class FarmingSkillOverlay extends TextOverlay {
//Set default skilltype to Farming and get BZprice config value
boolean useBZPrice = NotEnoughUpdates.INSTANCE.config.skillOverlays.useBZPrice;
skillType = "Farming";
+ Farming = 1;
+ Alch = 0;
+ Foraging = 0;
//WARTS
if (internalname.startsWith("THEORETICAL_HOE_WARTS")) {