Fishing drops are no longer random amounts

This commit is contained in:
nossr50
2019-08-23 20:51:32 -06:00
parent 77ffee2515
commit 52f9273fa8
3 changed files with 9 additions and 3 deletions

View File

@ -480,9 +480,10 @@ public class FishingManager extends SkillManager {
treasureDrop.setDurability((short) (Misc.getRandom().nextInt(maxDurability)));
}
if (treasureDrop.getAmount() > 1) {
//TODO: Add option to randomize the amount rewarded
/*if (treasureDrop.getAmount() > 1) {
treasureDrop.setAmount(Misc.getRandom().nextInt(treasureDrop.getAmount()) + 1);
}
}*/
treasure.setDrop(treasureDrop);