13
0
geforkt von Mirrors/Paper

Use value from new potion effect particle visibility API.

Dieser Commit ist enthalten in:
0x277F 2014-12-05 13:43:15 -07:00 committet von md_5
Ursprung 313bc5204c
Commit dadb43af92

Datei anzeigen

@ -259,7 +259,7 @@ public class CraftLivingEntity extends CraftEntity implements LivingEntity {
}
removePotionEffect(effect.getType());
}
getHandle().addEffect(new MobEffect(effect.getType().getId(), effect.getDuration(), effect.getAmplifier(), effect.isAmbient(), true));
getHandle().addEffect(new MobEffect(effect.getType().getId(), effect.getDuration(), effect.getAmplifier(), effect.isAmbient(), effect.hasParticles()));
return true;
}