forked from SteamWar/SteamWar
Fix final things
This commit is contained in:
@@ -46,7 +46,7 @@ public class DustParticle implements ParticleElement {
|
||||
Location location = particleTickData.getLocation().add(0.0, 0.2, 0.0);
|
||||
Particle.DustOptions dustOptions;
|
||||
if (gradient != null) {
|
||||
double result = particleTickData.getDeg() % 360;
|
||||
double result = (particleTickData.getDeg() * 10) % 360;
|
||||
Color color = gradient.getColor(result, 360);
|
||||
dustOptions = withColor(color.getRed(), color.getGreen(), color.getBlue());
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user