Skip to content

Resetting ChatColor's italic font before assigning it to item name or lore#30

Merged
SamJakob merged 3 commits intoSamJakob:masterfrom
MCreeper12731:master
May 6, 2024
Merged

Resetting ChatColor's italic font before assigning it to item name or lore#30
SamJakob merged 3 commits intoSamJakob:masterfrom
MCreeper12731:master

Conversation

@MCreeper12731
Copy link
Copy Markdown
Contributor

By default, items have italic font if renamed in any way. Added ChatColor.RESET to the item's name, resetting the italic font. This also applies to lore

I believe the text should be normal by default and, if needed, changed to italic by the user

(Ignore the double commit, I still don't know how git works)

@SamJakob SamJakob merged commit cbd1050 into SamJakob:master May 6, 2024
@SamJakob
Copy link
Copy Markdown
Owner

SamJakob commented May 6, 2024

Agreed. I was on the fence about overriding it by default but honestly I think it's very rarely someone would want the italic font when using SpiGUI and it's easy enough to add back.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants