mirror of
https://github.com/ViaVersion/ViaBackwards.git
synced 2024-12-20 16:37:48 +01:00
parent
a9ed655d95
commit
d7f550fc4f
@ -319,7 +319,13 @@ public final class BlockItemPacketRewriter1_20_5 extends BackwardsStructuredItem
|
||||
if (item == null) return null;
|
||||
|
||||
super.handleItemToClient(connection, item);
|
||||
return vvProtocol.getItemRewriter().toOldItem(connection, item, DATA_CONVERTER);
|
||||
|
||||
final Item oldItem = vvProtocol.getItemRewriter().toOldItem(connection, item, DATA_CONVERTER);
|
||||
if (oldItem.tag() != null && oldItem.tag().isEmpty()) {
|
||||
// Improve item equality checks by removing empty tags
|
||||
oldItem.setTag(null);
|
||||
}
|
||||
return oldItem;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -70,9 +70,7 @@ public final class EntityPacketRewriter1_20_5 extends EntityRewriter<Clientbound
|
||||
do {
|
||||
slot = wrapper.read(Types.BYTE);
|
||||
if (slot == 6) {
|
||||
//TODO
|
||||
// Body to... something else? the actual inventory slot is still broken for llamas
|
||||
// Incoming click also needs to be fixed
|
||||
//TODO Body to... something else?
|
||||
slot = 2;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user