3
0
Mirror von https://github.com/ViaVersion/ViaVersion.git synchronisiert 2024-10-02 00:10:06 +02:00

1.20.5 -> 1.20.3: nullify empty tags (#3949)

Co-authored-by: AJ Ferguson <AJ-Ferguson@users.noreply.github.com>
Dieser Commit ist enthalten in:
Camotoy 2024-06-17 03:42:09 -04:00 committet von GitHub
Ursprung 824ff375d4
Commit b7f388b9ee
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: B5690EEEBB952194

Datei anzeigen

@ -408,6 +408,10 @@ public final class BlockItemPacketRewriter1_20_5 extends ItemRewriter<Clientboun
dataConverter.writeToTag(connection, structuredData, tag);
}
if (tag.isEmpty()) {
dataItem.setTag(null);
}
return dataItem;
}