Mirror von
https://github.com/ViaVersion/ViaBackwards.git
synchronisiert 2024-09-07 21:32:52 +02:00
fix toServer
Dieser Commit ist enthalten in:
Ursprung
6c49c0b2d3
Commit
1f3ed39eb6
@ -867,7 +867,6 @@ public class BlockItemPackets1_13 extends BlockItemRewriter<Protocol1_12_2To1_13
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected Item handleItemToServer(Item item) {
|
protected Item handleItemToServer(Item item) {
|
||||||
item = super.handleItemToServer(item);
|
|
||||||
if (item == null) return null;
|
if (item == null) return null;
|
||||||
CompoundTag tag = item.getTag();
|
CompoundTag tag = item.getTag();
|
||||||
|
|
||||||
@ -1095,6 +1094,7 @@ public class BlockItemPackets1_13 extends BlockItemRewriter<Protocol1_12_2To1_13
|
|||||||
|
|
||||||
item.setId(MappingData.oldToNewItems.get(rawId).shortValue());
|
item.setId(MappingData.oldToNewItems.get(rawId).shortValue());
|
||||||
item.setData((short) 0);
|
item.setData((short) 0);
|
||||||
|
item = super.handleItemToServer(item);
|
||||||
return item;
|
return item;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren