mirror of
https://github.com/PikaMug/Quests.git
synced 2024-11-12 13:43:57 +01:00
Correct comparison of more Potion types, fixes #955
This commit is contained in:
parent
4fda4413be
commit
29c427f1df
@ -139,7 +139,8 @@ public class LocaleQuery {
|
||||
}
|
||||
if (meta != null && meta instanceof PotionMeta) {
|
||||
matKey = "item.minecraft.potion.effect." + ((PotionMeta)meta).getBasePotionData().getType().name().toLowerCase()
|
||||
.replace("regen", "regeneration").replace("speed", "swiftness");
|
||||
.replace("regen", "regeneration").replace("speed", "swiftness").replace("jump", "leaping")
|
||||
.replace("instant_heal", "healing").replace("instant_damage", "harming");
|
||||
}
|
||||
if (enchantments != null && !enchantments.isEmpty()) {
|
||||
int count = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user