13
0
geforkt von Mirrors/Paper

Use value from new potion effect particle visibility API.

By: 0x277F <0x277F@gmail.com>
Dieser Commit ist enthalten in:
CraftBukkit/Spigot 2014-12-05 13:43:15 -07:00
Ursprung 13e3cbe255
Commit 6ef454742b

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;
}