Skip to content

Commit

Permalink
allow influencing probability of effects
Browse files Browse the repository at this point in the history
  • Loading branch information
xGinko committed Nov 3, 2024
1 parent 435ab03 commit e70cecc
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ public FireworkEffects() {
final List<Color> colors = config.getList(configPath + ".colors", defaults,
"You need to configure at least 1 color.")
.stream()
.distinct()
.map(hexString -> {
try {
return Util.fromHexString(hexString);
Expand All @@ -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);
Expand Down

0 comments on commit e70cecc

Please sign in to comment.