aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMadeleaan <70163122+Madeleaan@users.noreply.github.com>2024-08-07 10:27:35 +0200
committerGitHub <noreply@github.com>2024-08-07 18:27:35 +1000
commit5a614edce17e2261596789626138318c9cabe972 (patch)
tree52743f84e3fb33fc75c605f6170e4b182b4f2f9a
parent05eb136b43b6f709b35f0384a8b42d623a6aba59 (diff)
downloadnotenoughupdates-5a614edce17e2261596789626138318c9cabe972.tar.gz
notenoughupdates-5a614edce17e2261596789626138318c9cabe972.tar.bz2
notenoughupdates-5a614edce17e2261596789626138318c9cabe972.zip
Fix croesus overlay not working with master mode (#1295)
-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 594facc2..e9ba9489 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-2023 NotEnoughUpdates contributors
+ * Copyright (C) 2022-2024 NotEnoughUpdates contributors
*
* This file is part of NotEnoughUpdates.
*
@@ -68,7 +68,7 @@ public class DungeonNpcProfitOverlay {
private static final ResourceLocation dungeonProfitResource =
new ResourceLocation("notenoughupdates:dungeon_chest_worth.png");
- private static final Pattern chestNamePattern = Pattern.compile(".+ Catacombs - Floor .+");
+ private static final Pattern chestNamePattern = Pattern.compile(".+ Catacombs - Flo.*");
private static final Pattern essencePattern = Pattern.compile(
"^§.(?<essenceType>\\w+) Essence §.x(?<essenceAmount>\\d+)$");
private static final Pattern enchantedBookPattern = Pattern.compile("^§.Enchanted Book \\((?<enchantName>.*)§.\\)");