Skip to content

Conversation

@davight
Copy link
Contributor

@davight davight commented Jan 13, 2026

they need to be sent together, reported in https://discord.com/channels/315163488085475337/1460651333567910002

Comment on lines 164 to 165
new ClientboundSetTitleTextPacket(Handler.componentToNMS(FormattedTextHelper.parse(title == null ? "" : title , ChatColor.WHITE))),
new ClientboundSetSubtitleTextPacket(Handler.componentToNMS(FormattedTextHelper.parse(subtitle == null ? "" : subtitle, ChatColor.WHITE)))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is the defaulting done here instead of in TitleCommand's existing method (I.e. the new parse thing) - instead of having the command default to null and then default null to a string here just have the command default to a string.

@tal5 tal5 merged commit 2322fb1 into DenizenScript:dev Jan 13, 2026
1 check passed
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