fixed issue #3

This commit is contained in:
Indyuce 2019-08-28 21:38:12 +02:00
parent 777bbd7ebb
commit 6de535ab05

View File

@ -28,7 +28,7 @@ public class LegacyVersionWrapper implements VersionWrapper {
@Override
public void spawnParticle(Particle particle, Location loc, int amount, double x, double y, double z, double speed, float size, Color color) {
loc.getWorld().spawnParticle(particle, loc, 0, (double) color.getRed() / 255, (double) y / 255, (double) z / 255, 0);
loc.getWorld().spawnParticle(particle, loc, 0, (double) color.getRed() / 255, (double) color.getGreen() / 255, (double) color.getBlue() / 255, 0);
}
@Override