Fixed math error on line 577

Needs to be greater than, since condition is less than or equal to.  My bad.
This commit is contained in:
hoorigan 2017-10-30 21:07:27 -04:00 committed by GitHub
parent ec20d69feb
commit 22caf14866
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -574,7 +574,7 @@ public class FishingManager extends SkillManager {
if (diceRoll <= dropRate) {
// Make sure enchanted books always get some kind of enchantment. --hoorigan
if (treasureDrop.getType() == Material.ENCHANTED_BOOK) {
diceRoll = dropRate;
diceRoll = dropRate + 1;
continue;
}
fishingEnchantments = TreasureConfig.getInstance().fishingEnchantments.get(rarity);