From 4faed013b4cac13f539ef05c2ce02cf7c8970c3b Mon Sep 17 00:00:00 2001 From: Minecon724 Date: Sat, 21 Sep 2024 10:03:28 +0200 Subject: [PATCH] who would have expected --- src/main/java/eu/m724/giants/Configuration.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {