mirror of
https://github.com/ViaVersion/ViaBackwards.git
synced 2024-11-21 12:07:38 +01:00
Use backup tag remove method when rewriting trade list (#742)
This commit is contained in:
parent
6b616d8b07
commit
6292c5a5a5
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user