mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-06-27 03:04:44 +02:00
Fishing drops are no longer random amounts
This commit is contained in:
@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user