Dont add effects in 1.9

This commit is contained in:
Sn0wStorm
2016-06-28 16:31:57 +02:00
parent 82223aafe1
commit bd6742a599
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -578,7 +578,7 @@ public class Brew {
// Adds the Effect names to the Items description
public static void addOrReplaceEffects(PotionMeta meta, ArrayList<BEffect> effects, int quality) {
if (effects != null) {
if (!P.use1_9 && effects != null) {
for (BEffect effect : effects) {
if (!effect.isHidden()) {
effect.writeInto(meta, quality);