Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-12-18 12:30:06 +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
|
||||
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
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren