From e70cecc41148b1581a79912785101a2bb04fbe4e Mon Sep 17 00:00:00 2001 From: xGinko Date: Sun, 3 Nov 2024 19:21:46 +0100 Subject: [PATCH] allow influencing probability of effects --- .../pumpkinpvpreloaded/modules/effects/FireworkEffects.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/main/java/me/xginko/pumpkinpvpreloaded/modules/effects/FireworkEffects.java b/src/main/java/me/xginko/pumpkinpvpreloaded/modules/effects/FireworkEffects.java index 5dd199e..9d93c6e 100644 --- a/src/main/java/me/xginko/pumpkinpvpreloaded/modules/effects/FireworkEffects.java +++ b/src/main/java/me/xginko/pumpkinpvpreloaded/modules/effects/FireworkEffects.java @@ -38,7 +38,6 @@ public FireworkEffects() { final List colors = config.getList(configPath + ".colors", defaults, "You need to configure at least 1 color.") .stream() - .distinct() .map(hexString -> { try { return Util.fromHexString(hexString); @@ -61,7 +60,6 @@ public FireworkEffects() { "FireworkEffect Types you wish to use. Has to be a valid enum from: \n" + "https://jd.papermc.io/paper/1.20/org/bukkit/FireworkEffect.Type.html") .stream() - .distinct() .map(configuredType -> { try { return FireworkEffect.Type.valueOf(configuredType);