getOptionalTeamParameters returns an Object
chasertw123 opened this issue ยท 1 comments
- This issue is not solved in a development build
Describe the bug
AbstractStructure#getOptionalTeamParameters returns an abstract structure containing just a java.lang.Object.
To Reproduce
Steps to reproduce the behavior:
- Create a packet container of type PacketType.Play.Server.SCOREBOARD_TEAM
- Call packetContainer#getOptionalTeamParameters and read the 0 index.
- Cast to expected type.
Expected behavior
For said method to return the correct type.
Version Info
Latest Dev
Additional Information
Not 100% sure but this seems to be due to retrieving the Internal Structure as I believe this is having the same issue.