mirror of
https://github.com/ViaVersion/ViaBackwards.git
synced 2024-11-25 12:45:35 +01:00
add comment
This commit is contained in:
parent
00ad68389c
commit
f2e35a0c5a
@ -121,6 +121,7 @@ public class InventoryPackets {
|
||||
item.setId((short) getOldItemId(item.getId()));
|
||||
}
|
||||
|
||||
//1.13.1 Item Id
|
||||
public static int getNewItemId(int itemId) {
|
||||
if (itemId >= 443) {
|
||||
return itemId + 5;
|
||||
@ -133,6 +134,7 @@ public class InventoryPackets {
|
||||
item.setId((short) getNewItemId(item.getId()));
|
||||
}
|
||||
|
||||
//1.13 Item Id
|
||||
public static int getOldItemId(int newId) {
|
||||
if (newId >= 448) {
|
||||
return newId - 5;
|
||||
|
Loading…
Reference in New Issue
Block a user