Skip to content
Success

Changes

Summary

  1. Use an actual ArrayList when creating a TextComponent with extras. (commit: 5236dd3) (details)
  2. Fix BadPacketException handling It is catched by DecoderException and (commit: 8622cf3) (details)
  3. Fix BaseComponent.duplicate() ignoring extra (commit: 70564d9) (details)
Commit 5236dd301a3bdfef9c9a1885e58954db4f8fa68b by md_5
Use an actual ArrayList when creating a TextComponent with extras.

Arrays#asList returns a java.util.Arrays.ArrayList which does not support adding more elements.  This previously broke BaseComponent#addExtra.
(commit: 5236dd3)
The file was modifiedchat/src/main/java/net/md_5/bungee/api/chat/TextComponent.java (diff)
Commit 8622cf3af4b7d7beb27f006375604b4af1125a55 by md_5
Fix BadPacketException handling It is catched by DecoderException and was not processed correctly by HandlerBoss So the console was spammed when that exception is thrown
(commit: 8622cf3)
The file was modifiedproxy/src/main/java/net/md_5/bungee/netty/HandlerBoss.java (diff)
Commit 70564d9f44652968735b315cc20b41e16e4ec976 by md_5
Fix BaseComponent.duplicate() ignoring extra
(commit: 70564d9)
The file was modifiedchat/src/main/java/net/md_5/bungee/api/chat/BaseComponent.java (diff)