mirror of
https://github.com/PaperMC/Paper.git
synced 2025-03-21 14:39:01 +01:00
SPIGOT-4204: Allow passing data to AreaEffectCloud particles
This commit is contained in:
parent
d474030e14
commit
a3b7e3433a
1 changed files with 6 additions and 1 deletions
|
@ -120,7 +120,12 @@ public class CraftAreaEffectCloud extends CraftEntity implements AreaEffectCloud
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void setParticle(Particle particle) {
|
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
|
@Override
|
||||||
|
|
Loading…
Add table
Reference in a new issue