mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-22 05:06:45 +01:00
Fixed bug where Fishing was becoming less successful at higher levels
This commit is contained in:
parent
c30fdef615
commit
09169bd019
@ -10,6 +10,7 @@ Key:
|
|||||||
Version 1.4.03-dev
|
Version 1.4.03-dev
|
||||||
= Fixed bug where players were unable to salvage leather armor
|
= Fixed bug where players were unable to salvage leather armor
|
||||||
= Fixed bug with repairing using materials with byte metadata
|
= 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
|
! 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 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.
|
- 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()));
|
FishingTreasure treasure = rewards.get(Misc.getRandom().nextInt(rewards.size()));
|
||||||
ItemStack treasureDrop = treasure.getDrop();
|
ItemStack treasureDrop = treasure.getDrop();
|
||||||
|
|
||||||
if (!SkillUtils.treasureDropSuccessful(treasure.getDropChance(), skillLevel)) {
|
if (!SkillUtils.treasureDropSuccessful(treasure.getDropChance(), activationChance)) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user