1
0
mirror of https://github.com/mcMMO-Dev/mcMMO.git synced 2025-04-07 20:26:24 +02:00

Don't need to add one here, it sends us out of bounds.

This commit is contained in:
GJ 2013-02-02 17:04:11 -05:00
parent a16d5b62cf
commit b11e28c880

@ -374,7 +374,7 @@ public class Herbalism {
} }
int dropNumber = Misc.getRandom().nextInt(treasures.size()); int dropNumber = Misc.getRandom().nextInt(treasures.size());
ItemStack item = treasures.get(dropNumber + 1).getDrop(); ItemStack item = treasures.get(dropNumber).getDrop();
Location location = block.getLocation(); Location location = block.getLocation();
event.setCancelled(true); event.setCancelled(true);