fix: The formatted placeholder should actually return text with formatting

This commit is contained in:
Ash (ashisbored) 2021-12-12 15:55:44 +00:00
parent 45b0dc2e5f
commit c7af332caa
No known key found for this signature in database
GPG key ID: 1AE71DC3E127235F

View file

@ -64,7 +64,7 @@ public class PlayerPronouns implements ModInitializer {
}); });
PlaceholderAPI.register(new Identifier(MOD_ID, "pronouns"), ctx -> PlaceholderAPI.register(new Identifier(MOD_ID, "pronouns"), ctx ->
PlayerPronouns.fromContext(ctx, false)); PlayerPronouns.fromContext(ctx, true));
PlaceholderAPI.register(new Identifier(MOD_ID, "raw_pronouns"), ctx -> PlaceholderAPI.register(new Identifier(MOD_ID, "raw_pronouns"), ctx ->
PlayerPronouns.fromContext(ctx, false)); PlayerPronouns.fromContext(ctx, false));