dmulloy2 / ProtocolLib

Provides read and write access to the Minecraft protocol with Bukkit.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TextDisplay entity scale rendering the text display invisible or ruined.

HMJosh opened this issue · comments

commented
  • This issue is not solved in a development build

Describe the bug
Creating text displays, I spawn the entity then send the entity metadata packet. Everything works until I try to add scale to the text display. If i don't add a DataValue of scale do my list of wrapped data values, its spawns, its fine. But the second I add it, its gone. No errors, no text display shown.

To Reproduce
N/A

Expected behavior
The scale of the text display entity should be changed.

Screenshots
N/A

Version Info
Provide your ProtocolLib install info with /protocol dump through pastebin.

Additional context
new WrappedDataValue(12, WrappedDataWatcher.Registry.getVectorSerializer(), Vector3F.getConverter().getGeneric(vector3f)), from protocollib wrappers
new WrappedDataValue(12, WrappedDataWatcher.Registry.getVectorSerializer(), new Vector3f(3.0, 3.0, 3.0)), From minecraft.core

all the same result. The text displays spawn, text is applied, colors are changed... etc. However, not with the scale meta index of 12. It straight up disappears with no errors.

This solution worked for me: #2492