Mirror von
https://github.com/ViaVersion/ViaBackwards.git
synchronisiert 2024-12-26 08:10:10 +01:00
add comment
Dieser Commit ist enthalten in:
Ursprung
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;
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren