SPIGOT-1623: Use correct spawnParticle overloads.

This commit is contained in:
md_5 2016-03-02 16:51:03 +11:00
parent 92602ad172
commit 912dfae454
2 changed files with 2 additions and 2 deletions

View File

@ -1367,7 +1367,7 @@ public class CraftWorld implements World {
@Override
public <T> void spawnParticle(Particle particle, double x, double y, double z, int count, T data) {
spawnParticle(particle, x, y, z, count, 0, 0, 0);
spawnParticle(particle, x, y, z, count, 0, 0, 0, data);
}
@Override

View File

@ -1359,7 +1359,7 @@ public class CraftPlayer extends CraftHumanEntity implements Player {
@Override
public <T> void spawnParticle(Particle particle, double x, double y, double z, int count, T data) {
spawnParticle(particle, x, y, z, count, 0, 0, 0);
spawnParticle(particle, x, y, z, count, 0, 0, 0, data);
}
@Override