Mirror von
https://github.com/ViaVersion/ViaBackwards.git
synchronisiert 2024-12-26 16:12:43 +01:00
Ursprung
a9ed655d95
Commit
d7f550fc4f
@ -319,7 +319,13 @@ public final class BlockItemPacketRewriter1_20_5 extends BackwardsStructuredItem
|
|||||||
if (item == null) return null;
|
if (item == null) return null;
|
||||||
|
|
||||||
super.handleItemToClient(connection, item);
|
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
|
@Override
|
||||||
|
@ -70,9 +70,7 @@ public final class EntityPacketRewriter1_20_5 extends EntityRewriter<Clientbound
|
|||||||
do {
|
do {
|
||||||
slot = wrapper.read(Types.BYTE);
|
slot = wrapper.read(Types.BYTE);
|
||||||
if (slot == 6) {
|
if (slot == 6) {
|
||||||
//TODO
|
//TODO Body to... something else?
|
||||||
// Body to... something else? the actual inventory slot is still broken for llamas
|
|
||||||
// Incoming click also needs to be fixed
|
|
||||||
slot = 2;
|
slot = 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren