Also use setColor in 1.11

Fixes #160
This commit is contained in:
Sn0wStorm
2018-10-31 22:25:32 +01:00
parent 0815caf553
commit 53ecc5c3c0
3 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -728,7 +728,7 @@ public class Brew {
public void colorBrew(PotionMeta meta, ItemStack potion, boolean destillable) {
if (P.use1_9) {
meta.addItemFlags(ItemFlag.HIDE_POTION_EFFECTS);
if (P.use1_12) {
if (P.use1_11) {
// BasePotionData was only used for the Color, so starting with 1.12 we can use setColor instead
meta.setColor(getColor());
} else {