Fix AlchemyBrew NPE

This commit is contained in:
nossr50
2019-04-14 04:55:37 -07:00
parent 273dfbbdce
commit 5a56b27ea8
3 changed files with 5 additions and 2 deletions

View File

@ -93,7 +93,7 @@ public final class AlchemyPotionBrewer {
}
private static List<ItemStack> getValidIngredients(Player player) {
if(UserManager.getPlayer(player) != null)
if(UserManager.getPlayer(player) == null)
{
return PotionConfig.getInstance().getIngredients(1);
}