mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-22 13:16:45 +01:00
Fix AlchemyBrew NPE
This commit is contained in:
parent
273dfbbdce
commit
5a56b27ea8
@ -7,6 +7,9 @@ Key:
|
|||||||
! Change
|
! Change
|
||||||
- Removal
|
- Removal
|
||||||
|
|
||||||
|
Version 2.1.44
|
||||||
|
Fixed a NPE with Alchemy brewing
|
||||||
|
|
||||||
Version 2.1.43
|
Version 2.1.43
|
||||||
Fixed a bug that would result in players being told they they failed to salvage enchantments when in reality they succeeded.
|
Fixed a bug that would result in players being told they they failed to salvage enchantments when in reality they succeeded.
|
||||||
|
|
||||||
|
2
pom.xml
2
pom.xml
@ -2,7 +2,7 @@
|
|||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
<groupId>com.gmail.nossr50.mcMMO</groupId>
|
<groupId>com.gmail.nossr50.mcMMO</groupId>
|
||||||
<artifactId>mcMMO</artifactId>
|
<artifactId>mcMMO</artifactId>
|
||||||
<version>2.1.43</version>
|
<version>2.1.44-SNAPSHOT</version>
|
||||||
<name>mcMMO</name>
|
<name>mcMMO</name>
|
||||||
<url>https://github.com/mcMMO-Dev/mcMMO</url>
|
<url>https://github.com/mcMMO-Dev/mcMMO</url>
|
||||||
<scm>
|
<scm>
|
||||||
|
@ -93,7 +93,7 @@ public final class AlchemyPotionBrewer {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private static List<ItemStack> getValidIngredients(Player player) {
|
private static List<ItemStack> getValidIngredients(Player player) {
|
||||||
if(UserManager.getPlayer(player) != null)
|
if(UserManager.getPlayer(player) == null)
|
||||||
{
|
{
|
||||||
return PotionConfig.getInstance().getIngredients(1);
|
return PotionConfig.getInstance().getIngredients(1);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user