diff --git a/src/main/java/eu/m724/giants/Configuration.java b/src/main/java/eu/m724/giants/Configuration.java index 3eeee69..aeb9561 100644 --- a/src/main/java/eu/m724/giants/Configuration.java +++ b/src/main/java/eu/m724/giants/Configuration.java @@ -85,7 +85,7 @@ public class Configuration { int min = (int) dropMap.get("quantityMin"); int max = (int) dropMap.get("quantityMax"); - float chance = (int) dropMap.get("chance"); + float chance = (float) dropMap.get("chance"); drops.add(new Drop(itemStack, min, max, chance)); } catch (IllegalArgumentException e) {