mirror of
https://github.com/dmulloy2/ProtocolLib.git
synced 2024-12-29 04:27:38 +01:00
Fix issue with component array converter (#372)
This commit is contained in:
parent
501244cb3c
commit
59171c5443
@ -1381,7 +1381,7 @@ public class PacketContainer implements Serializable {
|
||||
private static class ComponentArrayConverter implements EquivalentConverter<WrappedChatComponent[]> {
|
||||
private static final EquivalentConverter<WrappedChatComponent[]> DELEGATE;
|
||||
static {
|
||||
if (!PacketType.Play.Server.UPDATE_SIGN.isDeprecated()) {
|
||||
if (MinecraftReflection.signUpdateExists()) {
|
||||
DELEGATE = new LegacyComponentConverter();
|
||||
} else {
|
||||
DELEGATE = new NBTComponentConverter();
|
||||
|
Loading…
Reference in New Issue
Block a user