Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-11-16 21:10:17 +01:00
SPIGOT-1623: Use correct spawnParticle overloads.
Dieser Commit ist enthalten in:
Ursprung
92602ad172
Commit
912dfae454
@ -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
|
||||||
|
@ -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
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren