3
0
Mirror von https://github.com/ViaVersion/ViaBackwards.git synchronisiert 2024-12-27 08:30:10 +01:00

Use backup tag remove method when rewriting trade list (#742)

Dieser Commit ist enthalten in:
EnZaXD 2024-05-09 20:55:31 +02:00 committet von GitHub
Ursprung 6b616d8b07
Commit 6292c5a5a5
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: B5690EEEBB952194

Datei anzeigen

@ -264,7 +264,7 @@ public final class BlockItemPacketRewriter1_20_5 extends BackwardsStructuredItem
} }
final CompoundTag tag = item.tag(); final CompoundTag tag = item.tag();
tag.remove("VV|DataComponents"); StructuredDataConverter.removeBackupTag(tag);
final CompoundTag display = tag.getCompoundTag("display"); final CompoundTag display = tag.getCompoundTag("display");
if (display != null) { if (display != null) {