Fix issue with component array converter (#372)
Dieser Commit ist enthalten in:
Ursprung
501244cb3c
Commit
59171c5443
@ -1381,7 +1381,7 @@ public class PacketContainer implements Serializable {
|
|||||||
private static class ComponentArrayConverter implements EquivalentConverter<WrappedChatComponent[]> {
|
private static class ComponentArrayConverter implements EquivalentConverter<WrappedChatComponent[]> {
|
||||||
private static final EquivalentConverter<WrappedChatComponent[]> DELEGATE;
|
private static final EquivalentConverter<WrappedChatComponent[]> DELEGATE;
|
||||||
static {
|
static {
|
||||||
if (!PacketType.Play.Server.UPDATE_SIGN.isDeprecated()) {
|
if (MinecraftReflection.signUpdateExists()) {
|
||||||
DELEGATE = new LegacyComponentConverter();
|
DELEGATE = new LegacyComponentConverter();
|
||||||
} else {
|
} else {
|
||||||
DELEGATE = new NBTComponentConverter();
|
DELEGATE = new NBTComponentConverter();
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren