mirror of
https://github.com/Auxilor/EcoEnchants.git
synced 2024-11-26 15:45:12 +01:00
Fixed chyzman's python code
This commit is contained in:
parent
bfec9a26e6
commit
af5734202e
@ -39,7 +39,7 @@ public class Buckshot extends EcoEnchant {
|
||||
double spread = Math.abs(this.getConfig().getDouble(EcoEnchants.CONFIG_LOCATION + "spread-per-level"));
|
||||
spread *= level;
|
||||
|
||||
for (int i = 0; i < number; i += 1) {
|
||||
for (int i = 0; i < number; i++) {
|
||||
Vector velocity = event.getProjectile().getVelocity().clone();
|
||||
|
||||
velocity.add(new Vector(NumberUtils.randFloat(-spread, spread), NumberUtils.randFloat(-spread, spread), NumberUtils.randFloat(-spread, spread)));
|
||||
|
Loading…
Reference in New Issue
Block a user