mirror of
https://github.com/ViaVersion/ViaVersion.git
synced 2024-11-22 18:15:39 +01:00
Actually fix #500, mode changed to VarIntEnum at 1.8->1.9 but we never changed it.
This commit is contained in:
parent
5a88963929
commit
3762a9d3b1
@ -248,7 +248,7 @@ public class InventoryPackets {
|
||||
map(Type.SHORT); // 1 - Slot ID
|
||||
map(Type.BYTE); // 2 - Button
|
||||
map(Type.SHORT); // 3 - Action
|
||||
map(Type.BYTE); // 4 - Mode
|
||||
map(Type.VAR_INT, Type.BYTE); // 4 - Mode
|
||||
map(Type.ITEM); // 5 - Clicked Item
|
||||
handler(new PacketHandler() {
|
||||
@Override
|
||||
|
@ -112,7 +112,7 @@ public class InventoryPackets {
|
||||
map(Type.SHORT); // 1 - Slot
|
||||
map(Type.BYTE); // 2 - Button
|
||||
map(Type.SHORT); // 3 - Action number
|
||||
map(Type.BYTE); // 4 - Mode
|
||||
map(Type.VAR_INT); // 4 - Mode
|
||||
map(Type.ITEM); // 5 - Clicked Item
|
||||
|
||||
handler(new PacketHandler() {
|
||||
|
Loading…
Reference in New Issue
Block a user