Fixed Streamlining enchantment (who could know that higher speed is slower in spigot api world)
This commit is contained in:
@@ -23,6 +23,6 @@ public class Streamlining extends EcoEnchant {
|
||||
return;
|
||||
}
|
||||
|
||||
player.setWalkSpeed((float) (0.2 + (level * EcoEnchants.STREAMLINING.getConfig().getDouble(EcoEnchants.CONFIG_LOCATION + "speed-per-level"))));
|
||||
player.setWalkSpeed((float) (0.2f - (level * this.getConfig().getDouble(EcoEnchants.CONFIG_LOCATION + "speed-per-level"))));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user