Skip to content

Fix message duplicating themselves without content - #9

Merged
TechStreetDev merged 2 commits into
DFScripting:1.19from
GeorgeRNG:master
Aug 26, 2022
Merged

Fix message duplicating themselves without content#9
TechStreetDev merged 2 commits into
DFScripting:1.19from
GeorgeRNG:master

Conversation

@GeorgeRNG

@GeorgeRNGGeorgeRNG commented Aug 26, 2022

Copy link
Copy Markdown
Collaborator

This works by not adding content from values with siblings, since their getText has the content from the sibling, which when attempting to use the style you get nothing.

Fixes#8

This works by only not adding message content if it has siblings
@GeorgeRNGGeorgeRNG changed the title Fix message duplicating themselves without content (#8)Fix message duplicating themselves without contentAug 26, 2022
@TechStreetDev
TechStreetDev merged commit 5c5eba1 into DFScripting:1.19Aug 26, 2022
GeorgeRNG added a commit to GeorgeRNG/DFScript that referenced this pull request Aug 26, 2022
FixesDFScripting#8 in the same way patch DFScripting#9 works. Untested
@GeorgeRNGGeorgeRNG mentioned this pull request Aug 26, 2022
Sign up for freeto 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.

RecievedMessage returns text both with color and without color joined together

2 participants

@GeorgeRNG@TechStreetDev