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

View File

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