mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-22 13:16:45 +01:00
Fixed bug with cooldown donor perks
This commit is contained in:
parent
30a1b333b9
commit
48821a710f
@ -21,6 +21,7 @@ Version 1.4.08-dev
|
|||||||
= Fixed exploit where you could receive smelting XP for improper items
|
= Fixed exploit where you could receive smelting XP for improper items
|
||||||
= Fixed bug where the Unbreaking enchantment was ignored when using "Super Breaker" or "Giga Drill Breaker"
|
= Fixed bug where the Unbreaking enchantment was ignored when using "Super Breaker" or "Giga Drill Breaker"
|
||||||
= Fixed bug which prevented players from gaining Acrobatics XP when the setting 'Prevent_XP_After_Teleport' was set to false
|
= Fixed bug which prevented players from gaining Acrobatics XP when the setting 'Prevent_XP_After_Teleport' was set to false
|
||||||
|
= Fixed bug where cooldown donor perks were reducing more than expected
|
||||||
! Updated localization files
|
! Updated localization files
|
||||||
! Changed AxesCritical to CriticalHit in config file
|
! Changed AxesCritical to CriticalHit in config file
|
||||||
! Changed several secondary ability permissions(deprecated versions still exist)
|
! Changed several secondary ability permissions(deprecated versions still exist)
|
||||||
|
@ -16,7 +16,7 @@ public final class PerksUtils {
|
|||||||
cooldown *= 0.5;
|
cooldown *= 0.5;
|
||||||
}
|
}
|
||||||
else if (Permissions.thirdedCooldowns(player)) {
|
else if (Permissions.thirdedCooldowns(player)) {
|
||||||
cooldown *= (1.0 / 3.0);
|
cooldown *= (2.0 / 3.0);
|
||||||
}
|
}
|
||||||
else if (Permissions.quarteredCooldowns(player)) {
|
else if (Permissions.quarteredCooldowns(player)) {
|
||||||
cooldown *= 0.75;
|
cooldown *= 0.75;
|
||||||
|
Loading…
Reference in New Issue
Block a user