Skip to content

Commit

Permalink
Update Stub.java
Browse files Browse the repository at this point in the history
  • Loading branch information
Jab125 committed Jan 4, 2025
1 parent ae546cd commit 56cff80
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ public Stub() {
setTweakAuthor("DexrnZacAttack", "Jab125");
setTweakDescription("This does absolutely nothing.");
setTweakID("StubTweak");
addSliderOption("Chat Component", enumProvider(ChatFormatting.RED, ChatFormatting::values, ChatFormatting::getName, f -> Component.literal(f.getName()).withStyle(f)));
addSliderOption("Chat Formatting", enumProvider(ChatFormatting.RED, ChatFormatting::values, ChatFormatting::getName, f -> Component.literal(f.getName()).withStyle(f)));
addSliderOption("Rarity", enumProvider(Rarity.COMMON, Rarity::values, Rarity::getSerializedName, f -> Component.literal(f.getSerializedName()).withStyle(f.color())));
}
}

0 comments on commit 56cff80

Please sign in to comment.