mirror of
https://github.com/Sollace/Unicopia.git
synced 2024-11-27 15:17:59 +01:00
Minor optimisation
This commit is contained in:
parent
2f32cdf6bb
commit
763510df5b
1 changed files with 1 additions and 2 deletions
|
@ -255,8 +255,7 @@ public class ButterflyEntity extends AmbientEntity {
|
|||
}
|
||||
|
||||
static Variant random(Random rand) {
|
||||
Variant[] values = values();
|
||||
return values[rand.nextInt(values.length)];
|
||||
return VALUES[rand.nextInt(VALUES.length)];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue