1
0
mirror of https://github.com/mcMMO-Dev/mcMMO.git synced 2025-04-17 17:16:23 +02:00

Fixed bug where Fishing was becoming less successful at higher levels

This commit is contained in:
GJ 2013-03-06 18:17:54 -05:00
parent c30fdef615
commit 09169bd019
2 changed files with 2 additions and 1 deletions
Changelog.txt
src/main/java/com/gmail/nossr50/skills/fishing

@ -10,6 +10,7 @@ Key:
Version 1.4.03-dev
= Fixed bug where players were unable to salvage leather armor
= Fixed bug with repairing using materials with byte metadata
= Fixed bug where Fishing was becoming less successful at higher levels
! Moved the Salvage unlock level from config.yml to advanced.yml
- Removed option to disable Salvage via the config file. This should be handled via permissions instead.
- Removed the option to use Woodcutting without an axe from the config file.

@ -217,7 +217,7 @@ public class FishingManager extends SkillManager {
FishingTreasure treasure = rewards.get(Misc.getRandom().nextInt(rewards.size()));
ItemStack treasureDrop = treasure.getDrop();
if (!SkillUtils.treasureDropSuccessful(treasure.getDropChance(), skillLevel)) {
if (!SkillUtils.treasureDropSuccessful(treasure.getDropChance(), activationChance)) {
return null;
}