diff options
author | Thinkofdeath <thinkofdeath@spigotmc.org> | 2015-03-11 13:18:06 +0000 |
---|---|---|
committer | Thinkofdeath <thinkofdeath@spigotmc.org> | 2015-03-11 13:18:06 +0000 |
commit | 7f52bd6c9563390582eadcd998a38db85f03a857 (patch) | |
tree | b3b2f55c4d39ff02bb0a5456e7a346e1c0155ad3 /src/main | |
parent | 294d07dcc011e44469fabe86d5735682fbecffc6 (diff) | |
download | craftbukkit-7f52bd6c9563390582eadcd998a38db85f03a857.tar craftbukkit-7f52bd6c9563390582eadcd998a38db85f03a857.tar.gz craftbukkit-7f52bd6c9563390582eadcd998a38db85f03a857.tar.lz craftbukkit-7f52bd6c9563390582eadcd998a38db85f03a857.tar.xz craftbukkit-7f52bd6c9563390582eadcd998a38db85f03a857.zip |
Fix getActivePotionEffects ignoring the particles flag
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/java/org/bukkit/craftbukkit/entity/CraftLivingEntity.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftLivingEntity.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftLivingEntity.java index c4f799de..5317cff6 100644 --- a/src/main/java/org/bukkit/craftbukkit/entity/CraftLivingEntity.java +++ b/src/main/java/org/bukkit/craftbukkit/entity/CraftLivingEntity.java @@ -326,7 +326,7 @@ public class CraftLivingEntity extends CraftEntity implements LivingEntity { if (!(raw instanceof MobEffect)) continue; MobEffect handle = (MobEffect) raw; - effects.add(new PotionEffect(PotionEffectType.getById(handle.getEffectId()), handle.getDuration(), handle.getAmplifier(), handle.isAmbient())); + effects.add(new PotionEffect(PotionEffectType.getById(handle.getEffectId()), handle.getDuration(), handle.getAmplifier(), handle.isAmbient(), handle.isShowParticles())); } return effects; } |