mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-22 05:06:45 +01:00
Fixing Shake showing the wrong chance to succeed
This commit is contained in:
parent
3b7f416ed9
commit
c5f4666525
@ -1,5 +1,6 @@
|
||||
Version 2.1.187
|
||||
Fixed a ClassCastException error involving Rupture
|
||||
Fixed a bug where /fishing was showing the wrong shake chance
|
||||
Default Shake chance increased from 15% to 30% (update advanced.yml manually or delete the file to regenerate it and receive these changes)
|
||||
Removed entries for ranks 2-8 of Shake from advanced.yml (Shake only has one rank, these entries were a mistake)
|
||||
Modified the warning about UltraPermissions
|
||||
|
@ -198,7 +198,7 @@ public class FishingManager extends SkillManager {
|
||||
}
|
||||
|
||||
public double getShakeChance() {
|
||||
return AdvancedConfig.getInstance().getShakeChance(getLootTier());
|
||||
return AdvancedConfig.getInstance().getShakeChance(RankUtils.getRank(mmoPlayer.getPlayer(), SubSkillType.FISHING_SHAKE));
|
||||
}
|
||||
|
||||
protected int getVanillaXPBoostModifier() {
|
||||
|
Loading…
Reference in New Issue
Block a user