mojira.dev

Riley Park

More than one avatar was detected! There might be multiple accounts sharing this same name.

Assigned

No issues.

Reported

MC-150635 EntityCatSplitFix does not properly retain newly set Trusting tag during datafixing Confirmed MC-150274 Merchant screen scrollbar overflows when many offers are sent Duplicate MC-123880 Clientbound play packet 0x0C (Boss Bar) using same byte for different booleans Fixed MC-100877 Incorrect sound effect during dispense Fixed MC-100165 PooledMutableBlockPos does not override toImmutable method Invalid MC-98180 Sending a null header or footer results in an NPE/Unable to remove headers/footers from the player list Fixed

Comments

Thank you for your report!
However, this issue is Incomplete.

Your report does not contain enough information. As such, we're unable to understand or reproduce the problem.

You are welcome to create a new ticket about your issue with more detailed information. In case of a game crash, be sure to attach the crash report from [minecraft/crash-reports/crash-<DATE>-client.txt|https://minecrafthopper.net/help/finding-minecraft-data-folder/].
However, please review the Bug Tracker Guidelines before creating new reports. Be sure to search for an existing issue as it is likely to have already been reported.

Quick Links:
๐Ÿ““ Bug Tracker Guidelines โ€“ ๐Ÿ’ฌ Community Support โ€“ ๐Ÿ“ง Mojang Support
๐Ÿ““ Project Summary โ€“ โœ๏ธ Feedback and Suggestions โ€“ ๐Ÿ“– Game Wiki

Please keep discussions on-topic. Off-topic comments and chatter may be hidden to avoid clutter, enabling us to focus on the information relevant to the bug.

Thank you for your report!
We're actually already tracking this issue in MCPE-67169, so I've resolved and linked this ticket as a duplicate.

If you would like to add a vote and any extra information to the main ticket it would be appreciated.

If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.

Quick Links:
๐Ÿ““ Issue Guidelines โ€“ ๐Ÿ’ฌ Community Support โ€“ ๐Ÿ“ง Customer Support โ€“ ๐Ÿ“– Game Wiki

Thank you for your report!
We're actually already tracking this issue in MCPE-67169, so I've resolved and linked this ticket as a duplicate.

If you would like to add a vote and any extra information to the main ticket it would be appreciated.

If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.

Quick Links:
๐Ÿ““ Issue Guidelines โ€“ ๐Ÿ’ฌ Community Support โ€“ ๐Ÿ“ง Customer Support โ€“ ๐Ÿ“– Game Wiki

Confirmed for 1.14 and 1.14.1-pre2.

I've attached two screenshots of this, based on the last screenshot example in https://bugs.mojang.com/browse/MC-48904 (found that issue before this one).

/tellraw @p [{"text":"["},{"text":"Tip","color":"green"},{"text":"] Follow us on "},{"text":"Twitter","color":"aqua"},{"text":" at: "},{"text":"www.twitter.com/SurvivalCraftMS","color":"dark_aqua"},{"text":" for the latest updates to our server!"}]

This is still an issue as of 17w50a.

Starting with Minecraft 1.9 (and most likely 1.9 snapshots) text components are not directly deserialised - instead they pass through a non-lenient `JsonReader`. When sending a `null` header and footer from a server to a vanilla client, this exception occurs:
When using the lenient deserialiser: https://gist.github.com/kashike/ce389d81d105cbf2b1c484e12ab30160
When using the same deserialisation (`GSON.fromJson`) as 1.8: https://gist.github.com/kashike/82489e367750fa70825d3d91f772de48

The issue introduced with 1.9 makes it impossible to send a `null` `Component`, further removing the ability to *remove* the header and/or footer - it is still only possible to make it empty (due to it calling `getFormattedText`, which `isEmpty` is *never* true on), as described earlier in the issue.
The original issue here still remains and is still within the client packet listener, due to it calling `getFormattedText` on a null `Component`:

// SRG: func_175096_a
    public void handlePlayerListHeaderFooter(SPacketPlayerListHeaderFooter packetIn) {
        this.gameController.ingameGUI.getTabList().setHeader(packetIn.getHeader().getFormattedText().isEmpty() ? null : packetIn.getHeader());
        this.gameController.ingameGUI.getTabList().setFooter(packetIn.getFooter().getFormattedText().isEmpty() ? null : packetIn.getFooter());
    }

This was fixed in 1.11 - I forgot to close this issue.

Could you explain why you marked this as invalid? The formatted text length is never zero - getFormattedText adds ยงr even if the provided text is empty - which means that there is no way to remove the header or footer, just make empty text/ยงr appear.