Fix getActivePotionEffects ignoring the particles flag
Dieser Commit ist enthalten in:
Ursprung
294d07dcc0
Commit
7f52bd6c95
@ -326,7 +326,7 @@ public class CraftLivingEntity extends CraftEntity implements LivingEntity {
|
|||||||
if (!(raw instanceof MobEffect))
|
if (!(raw instanceof MobEffect))
|
||||||
continue;
|
continue;
|
||||||
MobEffect handle = (MobEffect) raw;
|
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;
|
return effects;
|
||||||
}
|
}
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren