fix item remaps

This commit is contained in:
Marco 2019-05-21 23:35:49 +02:00
parent 4b0881263b
commit 24bfa82c0c

View File

@ -566,8 +566,8 @@ public class BlockItemPackets1_14 extends BlockItemRewriter<Protocol1_13_2To1_14
}
@Override
public Item handleItemToClient(Item i) {
Item item = super.handleItemToClient(i);
public Item handleItemToClient(Item item) {
//Item item = super.handleItemToClient(i);
if (item == null) return null;
item.setIdentifier(getOldItemId(item.getIdentifier()));
@ -600,8 +600,8 @@ public class BlockItemPackets1_14 extends BlockItemRewriter<Protocol1_13_2To1_14
}
@Override
public Item handleItemToServer(Item i) {
Item item = super.handleItemToServer(i);
public Item handleItemToServer(Item item) {
// Item item = super.handleItemToServer(i);
if (item == null) return null;
item.setIdentifier(getNewItemId(item.getIdentifier()));