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

This commit is contained in:
EnZaXD 2024-05-09 20:55:31 +02:00 committed by GitHub
parent 6b616d8b07
commit 6292c5a5a5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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