3
0
Mirror von https://github.com/ViaVersion/ViaVersion.git synchronisiert 2024-10-08 11:10:06 +02:00

Actually fix #500, mode changed to VarIntEnum at 1.8->1.9 but we never changed it.

Dieser Commit ist enthalten in:
Matsv 2016-09-21 15:26:06 +02:00
Ursprung 5a88963929
Commit 3762a9d3b1
2 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen

Datei anzeigen

@ -248,7 +248,7 @@ public class InventoryPackets {
map(Type.SHORT); // 1 - Slot ID map(Type.SHORT); // 1 - Slot ID
map(Type.BYTE); // 2 - Button map(Type.BYTE); // 2 - Button
map(Type.SHORT); // 3 - Action map(Type.SHORT); // 3 - Action
map(Type.BYTE); // 4 - Mode map(Type.VAR_INT, Type.BYTE); // 4 - Mode
map(Type.ITEM); // 5 - Clicked Item map(Type.ITEM); // 5 - Clicked Item
handler(new PacketHandler() { handler(new PacketHandler() {
@Override @Override

Datei anzeigen

@ -112,7 +112,7 @@ public class InventoryPackets {
map(Type.SHORT); // 1 - Slot map(Type.SHORT); // 1 - Slot
map(Type.BYTE); // 2 - Button map(Type.BYTE); // 2 - Button
map(Type.SHORT); // 3 - Action number map(Type.SHORT); // 3 - Action number
map(Type.BYTE); // 4 - Mode map(Type.VAR_INT); // 4 - Mode
map(Type.ITEM); // 5 - Clicked Item map(Type.ITEM); // 5 - Clicked Item
handler(new PacketHandler() { handler(new PacketHandler() {