mirror of
https://github.com/ViaVersion/ViaVersion.git
synced 2024-11-22 01:55:47 +01:00
1.20.5 -> 1.20.3: nullify empty tags (#3949)
Co-authored-by: AJ Ferguson <AJ-Ferguson@users.noreply.github.com>
This commit is contained in:
parent
824ff375d4
commit
b7f388b9ee
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user