Skip to content

Disconnected from server upon receiving certain messages #47

@Pablete1234

Description

@Pablete1234
[02:00:41] [Render thread/ERROR]: Failed to handle packet class_7439[content=empty[siblings=[literal{ No block in sight! (or too far)}[style={color=light_purple}]]], overlay=false]
java.lang.IndexOutOfBoundsException: Index: 6000, Size: 0
	at java.base/java.util.ArrayList.rangeCheckForAdd(ArrayList.java:838) ~[?:?]
	at java.base/java.util.ArrayList.add(ArrayList.java:510) ~[?:?]
	at com.ebicep.chatplus.features.chattabs.ChatTab.addWrappedComponents(ChatTab.java:243) ~[chatplus-fabric-2.0.2.jar:?]
	at com.ebicep.chatplus.features.CompactMessages$1.invoke(CompactMessages.java:84) ~[chatplus-fabric-2.0.2.jar:?]
	at com.ebicep.chatplus.features.CompactMessages$1.invoke(CompactMessages.java:26) ~[chatplus-fabric-2.0.2.jar:?]
	at com.ebicep.chatplus.events.EventBus$Bus.post(EventBus.java:30) ~[chatplus-fabric-2.0.2.jar:?]
	at com.ebicep.chatplus.events.EventBus.post(EventBus.java:88) ~[chatplus-fabric-2.0.2.jar:?]
	at com.ebicep.chatplus.features.chattabs.ChatTab.addNewMessage(ChatTab.java:546) ~[chatplus-fabric-2.0.2.jar:?]
	at net.minecraft.class_338.handler$zec000$chatplus$addMessage(class_338.java:660) ~[client-intermediary.jar:?]

This occurs when the same message is sent several times (ie: the messages stack and chatplus just shows them as [Message] (2) ) after it has reached the max chat size, i believe

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingseenIssue has been seen and is probably being worked on

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions