Skip to content

Commit

Permalink
use component
Browse files Browse the repository at this point in the history
  • Loading branch information
NonSwag committed Apr 10, 2024
1 parent 1b2b0fc commit 1d9028b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin/src/main/java/net/thenextlvl/worlds/Worlds.java
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public void onLoad() {
saveDefaultPresets();
bundle().miniMessage(MiniMessage.builder().tags(TagResolver.resolver(
TagResolver.standard(),
Placeholder.parsed("prefix", bundle().format(Locale.US, "prefix"))
Placeholder.component("prefix", bundle().component(Locale.US, "prefix"))
)).build());
}

Expand Down

0 comments on commit 1d9028b

Please sign in to comment.