diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/io/github/moulberry/notenoughupdates/util/ItemResolutionQuery.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/io/github/moulberry/notenoughupdates/util/ItemResolutionQuery.java b/src/main/java/io/github/moulberry/notenoughupdates/util/ItemResolutionQuery.java index 27c04ca2..b6be1171 100644 --- a/src/main/java/io/github/moulberry/notenoughupdates/util/ItemResolutionQuery.java +++ b/src/main/java/io/github/moulberry/notenoughupdates/util/ItemResolutionQuery.java @@ -343,7 +343,7 @@ public class ItemResolutionQuery { private String resolvePotionName() { String potion = getExtraAttributes().getString("potion"); int potionLvl = getExtraAttributes().getInteger("potion_level"); - String potionName = getExtraAttributes().getString("potion_name"); + String potionName = getExtraAttributes().getString("potion_name").replace(" ", "_"); String potionType = getExtraAttributes().getString("potion_type"); if (potionName != null && !potionName.isEmpty()) { return "POTION_" + potionName.toUpperCase(Locale.ROOT) + ";" + potionLvl; |