who would have expected

This commit is contained in:
Minecon724 2024-09-21 10:03:28 +02:00
parent 8a73cb1df1
commit 4faed013b4
Signed by: Minecon724
GPG key ID: 3CCC4D267742C8E8

View file

@ -85,7 +85,7 @@ public class Configuration {
int min = (int) dropMap.get("quantityMin"); int min = (int) dropMap.get("quantityMin");
int max = (int) dropMap.get("quantityMax"); 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)); drops.add(new Drop(itemStack, min, max, chance));
} catch (IllegalArgumentException e) { } catch (IllegalArgumentException e) {