Resolved potion parsing code typo causing issues with some potions
This commit is contained in:
1 parent
bd09ad5939
commit
27cb909dcc
1 file changed
+1
-1
@@ -317,7 +317,7 @@ public class AttributeParser {
|
||||
|
||||
return potion.toItemStack(item.getAmount());
|
||||
} else if (Toolkit.versionToNumber() >= 19) {
|
||||
potionMeta.setBasePotionData(new PotionData(potionType, isUpgraded, isExtended));
|
||||
potionMeta.setBasePotionData(new PotionData(potionType, isExtended, isUpgraded));
|
||||
}
|
||||
|
||||
item.setItemMeta(potionMeta);
|
||||
|
||||
Reference in new issue
Block a user