SPIGOT-1623: Use correct spawnParticle overloads.

Dieser Commit ist enthalten in:
md_5 2016-03-02 16:51:03 +11:00
Ursprung 92602ad172
Commit 912dfae454
2 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen

Datei anzeigen

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

Datei anzeigen

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