13
0
geforkt von Mirrors/Paper

SPIGOT-4204: Allow passing data to AreaEffectCloud particles

Dieser Commit ist enthalten in:
md_5 2018-08-01 08:21:02 +10:00
Ursprung d474030e14
Commit a3b7e3433a

Datei anzeigen

@ -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