mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-21 23:33:48 -07:00
SPIGOT-4204: Allow passing data to AreaEffectCloud particles
By: md_5 <git@md-5.net>
This commit is contained in:
@@ -120,7 +120,12 @@ public class CraftAreaEffectCloud extends CraftEntity implements AreaEffectCloud
|
||||
|
||||
@Override
|
||||
public void setParticle(Particle particle) {
|
||||
getHandle().setParticle(CraftParticle.toNMS(particle));
|
||||
setParticle(particle, null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public <T> void setParticle(Particle particle, T data) {
|
||||
getHandle().setParticle(CraftParticle.toNMS(particle, data));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Reference in New Issue
Block a user