diff --git a/src/de/steamwar/misslewars/items/SpecialItem.java b/src/de/steamwar/misslewars/items/SpecialItem.java index db9cb90..bce889e 100644 --- a/src/de/steamwar/misslewars/items/SpecialItem.java +++ b/src/de/steamwar/misslewars/items/SpecialItem.java @@ -111,6 +111,8 @@ public abstract class SpecialItem { public static ItemStack getRandomItem() { double missileChance = Config.MissileChance + count * 0.1; + if (Config.MissileChance == 0) missileChance = 0.0; + if (Config.MissileChance == 1) missileChance = 1.0; if (random.nextDouble() > missileChance) { count++; return supportItems.get(random.nextInt(supportItems.size())).getItem();