Fixing Shake showing the wrong chance to succeed

This commit is contained in:
nossr50
2021-04-05 12:47:03 -07:00
parent 3b7f416ed9
commit c5f4666525
2 changed files with 2 additions and 1 deletions

View File

@ -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() {