diff --git a/src/main/java/magicbees/block/types/HiveType.java b/src/main/java/magicbees/block/types/HiveType.java index c9eea00..68a28b9 100644 --- a/src/main/java/magicbees/block/types/HiveType.java +++ b/src/main/java/magicbees/block/types/HiveType.java @@ -127,14 +127,16 @@ public enum HiveType ArrayList hiveDrops = new ArrayList(); int dart; + Collections.shuffle(this.drops); + // Get a princess. int throttle = 0; while (hiveDrops.size() <= 0 && throttle < 10) { ++throttle; - dart = world.rand.nextInt(100); for (IHiveDrop drop : drops) { + dart = world.rand.nextInt(100); if (dart <= drop.getChance(world, x, y, z)) { hiveDrops.add(drop.getPrincess(world, x, y, z, fortune)); @@ -144,9 +146,9 @@ public enum HiveType } // Get a drone, maybe. - dart = world.rand.nextInt(100); for (IHiveDrop drop : drops) { + dart = world.rand.nextInt(100); if (dart <= drop.getChance(world, x, y, z)) { hiveDrops.addAll(drop.getDrones(world, x, y, z, fortune)); @@ -155,9 +157,9 @@ public enum HiveType } // Get additional drops. - dart = world.rand.nextInt(100); for (IHiveDrop drop : drops) { + dart = world.rand.nextInt(100); if (dart <= drop.getChance(world, x, y, z)) { hiveDrops.addAll(drop.getAdditional(world, x, y, z, fortune));