mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-10-29 11:52:22 +00:00
Compare commits
4 Commits
c3103beea2
...
175526d3da
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
175526d3da | ||
|
|
1430ea2979 | ||
|
|
b54db979f5 | ||
|
|
045f1bdfb6 |
@ -1,3 +1,6 @@
|
||||
Version 2.2.037
|
||||
Fixed bug where Alchemy was not matching potions correctly and producing incorrect results (Thanks TheBentoBox)
|
||||
|
||||
Version 2.2.036
|
||||
Fixed a bug where Chimaera Wing could cause an exception when used
|
||||
Fixed bug where Mob Spawners could drop in Blast Mining (thanks TomBock)
|
||||
|
||||
2
pom.xml
2
pom.xml
@ -2,7 +2,7 @@
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>com.gmail.nossr50.mcMMO</groupId>
|
||||
<artifactId>mcMMO</artifactId>
|
||||
<version>2.2.037-SNAPSHOT</version>
|
||||
<version>2.2.037</version>
|
||||
<name>mcMMO</name>
|
||||
<url>https://github.com/mcMMO-Dev/mcMMO</url>
|
||||
<scm>
|
||||
|
||||
@ -79,8 +79,8 @@ public class PotionUtil {
|
||||
String updatedName = convertLegacyNames(partialName).toUpperCase();
|
||||
return Arrays.stream(PotionType.values())
|
||||
.filter(potionType -> getKeyGetKey(potionType).toUpperCase().contains(updatedName))
|
||||
.filter(potionType -> !isUpgraded || potionType.name().toUpperCase().contains(STRONG))
|
||||
.filter(potionType -> !isExtended || potionType.name().toUpperCase().contains(LONG))
|
||||
.filter(potionType -> isUpgraded == potionType.name().toUpperCase().startsWith(STRONG + "_"))
|
||||
.filter(potionType -> isExtended == potionType.name().toUpperCase().startsWith(LONG + "_"))
|
||||
.findAny().orElse(null);
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user