Mirror von
https://github.com/ViaVersion/ViaBackwards.git
synchronisiert 2024-12-26 16:12:43 +01:00
reimpl. item remaps
Dieser Commit ist enthalten in:
Ursprung
b466ed9eb8
Commit
070661c623
@ -568,8 +568,8 @@ public class BlockItemPackets1_14 extends BlockItemRewriter<Protocol1_13_2To1_14
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public Item handleItemToClient(Item item) {
|
public Item handleItemToClient(Item i) {
|
||||||
//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()));
|
||||||
|
|
||||||
@ -602,8 +602,8 @@ public class BlockItemPackets1_14 extends BlockItemRewriter<Protocol1_13_2To1_14
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public Item handleItemToServer(Item item) {
|
public Item handleItemToServer(Item i) {
|
||||||
// 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()));
|
||||||
|
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren