aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLulonaut <lulonaut@tutanota.de>2023-01-25 19:35:13 +0100
committerGitHub <noreply@github.com>2023-01-25 19:35:13 +0100
commite36e1ea74ae6e06ad92d88ea480586dc531bc909 (patch)
treebaaab36fd084ebfa3ac1b91c43621571e7a52991
parent9b3672d5446540b41eeb8f217cfc352dfb45c2d5 (diff)
downloadNotEnoughUpdates-e36e1ea74ae6e06ad92d88ea480586dc531bc909.tar.gz
NotEnoughUpdates-e36e1ea74ae6e06ad92d88ea480586dc531bc909.tar.bz2
NotEnoughUpdates-e36e1ea74ae6e06ad92d88ea480586dc531bc909.zip
Do not always include essence profit in Croesus overlay (#566)
-rw-r--r--src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/DungeonNpcProfitOverlay.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/DungeonNpcProfitOverlay.java b/src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/DungeonNpcProfitOverlay.java
index 34a40c2f..28ce10f1 100644
--- a/src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/DungeonNpcProfitOverlay.java
+++ b/src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/DungeonNpcProfitOverlay.java
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2022 NotEnoughUpdates contributors
+ * Copyright (C) 2022-2023 NotEnoughUpdates contributors
*
* This file is part of NotEnoughUpdates.
*
@@ -334,7 +334,7 @@ public class DungeonNpcProfitOverlay {
}
}
}
- } else if (essenceMatcher.matches()) {
+ } else if (essenceMatcher.matches() && NotEnoughUpdates.INSTANCE.config.dungeons.useEssenceCostFromBazaar) {
String essenceType = essenceMatcher.group("essenceType");
String essenceAmount = essenceMatcher.group("essenceAmount");
if (essenceType == null || essenceAmount == null) {