Skip to content

Commit

Permalink
Make Falling Colorful Shooting Stars not implode your game if a mod i…
Browse files Browse the repository at this point in the history
…s extending the dye enum

i could really use a wish right now
  • Loading branch information
f-raZ0R authored Oct 3, 2024
1 parent 3c89e02 commit 32b69c1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ public Block getBlock() {
}
}
case COLORFUL -> {
return ColorHelper.getRGBVec(DyeColor.values()[random.nextInt(DyeColor.values().length)]);
return ColorHelper.getRGBVec(ColorHelper.VANILLA_DYE_COLORS.values()[random.nextInt(ColorHelper.VANILLA_DYE_COLORS.values().length)]);
}
case FIERY -> {
int r = random.nextInt(2);
Expand Down

0 comments on commit 32b69c1

Please sign in to comment.