geforkt von Mirrors/Paper
Use value from new potion effect particle visibility API.
By: 0x277F <0x277F@gmail.com>
Dieser Commit ist enthalten in:
Ursprung
13e3cbe255
Commit
6ef454742b
@ -259,7 +259,7 @@ public class CraftLivingEntity extends CraftEntity implements LivingEntity {
|
|||||||
}
|
}
|
||||||
removePotionEffect(effect.getType());
|
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;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren