forked from SteamWar/SteamWar
Hotfix some exceptions
This commit is contained in:
@@ -25,7 +25,7 @@ public interface ParticleElement {
|
||||
}
|
||||
|
||||
default Particle.DustOptions withColor(int r, int g, int b) {
|
||||
return new Particle.DustOptions(Color.fromRGB(r, g, b), RANDOM.nextFloat() / 2);
|
||||
return new Particle.DustOptions(Color.fromRGB(r, g, b), (float) (RANDOM.nextFloat() / 2 + 0.5));
|
||||
}
|
||||
|
||||
default void display(Location location, Player root, boolean onlySelf, boolean onlyOther, Consumer<Player> consumer) {
|
||||
|
||||
Reference in New Issue
Block a user