Skip to content

Commit

Permalink
Fixing Shake showing the wrong chance to succeed
Browse files Browse the repository at this point in the history
  • Loading branch information
nossr50 committed Apr 5, 2021
1 parent 3b7f416 commit c5f4666
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Changelog.txt
@@ -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
Expand Down
Expand Up @@ -198,7 +198,7 @@ public int getLootTier() {
}

public double getShakeChance() {
return AdvancedConfig.getInstance().getShakeChance(getLootTier());
return AdvancedConfig.getInstance().getShakeChance(RankUtils.getRank(mmoPlayer.getPlayer(), SubSkillType.FISHING_SHAKE));
}

protected int getVanillaXPBoostModifier() {
Expand Down

0 comments on commit c5f4666

Please sign in to comment.