Mirror von
https://github.com/ViaVersion/ViaBackwards.git
synchronisiert 2024-12-26 00:00:33 +01:00
Ursprung
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;
|
||||
}
|
||||
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren