mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-26 23:26:45 +01:00
Don't need to add one here, it sends us out of bounds.
This commit is contained in:
parent
a16d5b62cf
commit
b11e28c880
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user