mirror of
https://github.com/ViaVersion/ViaBackwards.git
synced 2024-09-06 01:08:08 +02:00
fix item remaps
This commit is contained in:
parent
4b0881263b
commit
24bfa82c0c
@ -566,8 +566,8 @@ public class BlockItemPackets1_14 extends BlockItemRewriter<Protocol1_13_2To1_14
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public Item handleItemToClient(Item i) {
|
public Item handleItemToClient(Item item) {
|
||||||
Item item = super.handleItemToClient(i);
|
//Item item = super.handleItemToClient(i);
|
||||||
if (item == null) return null;
|
if (item == null) return null;
|
||||||
item.setIdentifier(getOldItemId(item.getIdentifier()));
|
item.setIdentifier(getOldItemId(item.getIdentifier()));
|
||||||
|
|
||||||
@ -600,8 +600,8 @@ public class BlockItemPackets1_14 extends BlockItemRewriter<Protocol1_13_2To1_14
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public Item handleItemToServer(Item i) {
|
public Item handleItemToServer(Item item) {
|
||||||
Item item = super.handleItemToServer(i);
|
// Item item = super.handleItemToServer(i);
|
||||||
if (item == null) return null;
|
if (item == null) return null;
|
||||||
item.setIdentifier(getNewItemId(item.getIdentifier()));
|
item.setIdentifier(getNewItemId(item.getIdentifier()));
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user