mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-24 03:25:15 +01:00
SPIGOT-1623: Use correct spawnParticle overloads.
This commit is contained in:
parent
92602ad172
commit
912dfae454
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user