From 09169bd019fb02d932f78fde4442a01fc07c92e2 Mon Sep 17 00:00:00 2001 From: GJ Date: Wed, 6 Mar 2013 18:17:54 -0500 Subject: [PATCH] Fixed bug where Fishing was becoming less successful at higher levels --- Changelog.txt | 1 + .../java/com/gmail/nossr50/skills/fishing/FishingManager.java | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Changelog.txt b/Changelog.txt index 833919166..55d139c71 100644 --- a/Changelog.txt +++ b/Changelog.txt @@ -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. diff --git a/src/main/java/com/gmail/nossr50/skills/fishing/FishingManager.java b/src/main/java/com/gmail/nossr50/skills/fishing/FishingManager.java index a985c37d2..3e3f6af53 100644 --- a/src/main/java/com/gmail/nossr50/skills/fishing/FishingManager.java +++ b/src/main/java/com/gmail/nossr50/skills/fishing/FishingManager.java @@ -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; }