From c8a1279e759c3ca8e1ff7d5fdab84ebcaae52c7b Mon Sep 17 00:00:00 2001 From: Nassim Jahnke Date: Fri, 15 Jul 2022 16:51:12 +0200 Subject: [PATCH] I was too hopeful --- .../ClientboundPackets1_19_1.java | 4 +- .../ServerboundPackets1_19_1.java | 96 +++++++++---------- 2 files changed, 50 insertions(+), 50 deletions(-) diff --git a/common/src/main/java/com/viaversion/viaversion/protocols/protocol1_19_1to1_19/ClientboundPackets1_19_1.java b/common/src/main/java/com/viaversion/viaversion/protocols/protocol1_19_1to1_19/ClientboundPackets1_19_1.java index 590453a25..f746aaa83 100644 --- a/common/src/main/java/com/viaversion/viaversion/protocols/protocol1_19_1to1_19/ClientboundPackets1_19_1.java +++ b/common/src/main/java/com/viaversion/viaversion/protocols/protocol1_19_1to1_19/ClientboundPackets1_19_1.java @@ -71,8 +71,8 @@ public enum ClientboundPackets1_19_1 implements ClientboundPacketType { PING, // 0x2F CRAFT_RECIPE_RESPONSE, // 0x30 PLAYER_ABILITIES, // 0x31 - PLAYER_CHAT_HEADER, // 0x32 - PLAYER_CHAT, // 0x33 + PLAYER_CHAT, // 0x32 + PLAYER_CHAT_HEADER, // 0x33 COMBAT_END, // 0x34 COMBAT_ENTER, // 0x35 COMBAT_KILL, // 0x36 diff --git a/common/src/main/java/com/viaversion/viaversion/protocols/protocol1_19_1to1_19/ServerboundPackets1_19_1.java b/common/src/main/java/com/viaversion/viaversion/protocols/protocol1_19_1to1_19/ServerboundPackets1_19_1.java index ff6e037f4..155b05424 100644 --- a/common/src/main/java/com/viaversion/viaversion/protocols/protocol1_19_1to1_19/ServerboundPackets1_19_1.java +++ b/common/src/main/java/com/viaversion/viaversion/protocols/protocol1_19_1to1_19/ServerboundPackets1_19_1.java @@ -24,54 +24,54 @@ public enum ServerboundPackets1_19_1 implements ServerboundPacketType { TELEPORT_CONFIRM, // 0x00 QUERY_BLOCK_NBT, // 0x01 SET_DIFFICULTY, // 0x02 - CHAT_ACK, - CHAT_COMMAND, // 0x03 - CHAT_MESSAGE, // 0x04 - CHAT_PREVIEW, // 0x05 - CLIENT_STATUS, // 0x06 - CLIENT_SETTINGS, // 0x07 - TAB_COMPLETE, // 0x08 - CLICK_WINDOW_BUTTON, // 0x09 - CLICK_WINDOW, // 0x0A - CLOSE_WINDOW, // 0x0B - PLUGIN_MESSAGE, // 0x0C - EDIT_BOOK, // 0x0D - ENTITY_NBT_REQUEST, // 0x0E - INTERACT_ENTITY, // 0x0F - GENERATE_JIGSAW, // 0x10 - KEEP_ALIVE, // 0x11 - LOCK_DIFFICULTY, // 0x12 - PLAYER_POSITION, // 0x13 - PLAYER_POSITION_AND_ROTATION, // 0x14 - PLAYER_ROTATION, // 0x15 - PLAYER_MOVEMENT, // 0x16 - VEHICLE_MOVE, // 0x17 - STEER_BOAT, // 0x18 - PICK_ITEM, // 0x19 - CRAFT_RECIPE_REQUEST, // 0x1A - PLAYER_ABILITIES, // 0x1B - PLAYER_DIGGING, // 0x1C - ENTITY_ACTION, // 0x1D - STEER_VEHICLE, // 0x1E - PONG, // 0x1F - RECIPE_BOOK_DATA, // 0x20 - SEEN_RECIPE, // 0x21 - RENAME_ITEM, // 0x22 - RESOURCE_PACK_STATUS, // 0x23 - ADVANCEMENT_TAB, // 0x24 - SELECT_TRADE, // 0x25 - SET_BEACON_EFFECT, // 0x26 - HELD_ITEM_CHANGE, // 0x27 - UPDATE_COMMAND_BLOCK, // 0x28 - UPDATE_COMMAND_BLOCK_MINECART, // 0x29 - CREATIVE_INVENTORY_ACTION, // 0x2A - UPDATE_JIGSAW_BLOCK, // 0x2B - UPDATE_STRUCTURE_BLOCK, // 0x2C - UPDATE_SIGN, // 0x2D - ANIMATION, // 0x2E - SPECTATE, // 0x2F - PLAYER_BLOCK_PLACEMENT, // 0x30 - USE_ITEM; // 0x31 + CHAT_ACK, // 0x03 + CHAT_COMMAND, // 0x04 + CHAT_MESSAGE, // 0x05 + CHAT_PREVIEW, // 0x06 + CLIENT_STATUS, // 0x07 + CLIENT_SETTINGS, // 0x08 + TAB_COMPLETE, // 0x09 + CLICK_WINDOW_BUTTON, // 0x0A + CLICK_WINDOW, // 0x0B + CLOSE_WINDOW, // 0x0C + PLUGIN_MESSAGE, // 0x0D + EDIT_BOOK, // 0x0E + ENTITY_NBT_REQUEST, // 0x0F + INTERACT_ENTITY, // 0x10 + GENERATE_JIGSAW, // 0x11 + KEEP_ALIVE, // 0x12 + LOCK_DIFFICULTY, // 0x13 + PLAYER_POSITION, // 0x14 + PLAYER_POSITION_AND_ROTATION, // 0x15 + PLAYER_ROTATION, // 0x16 + PLAYER_MOVEMENT, // 0x17 + VEHICLE_MOVE, // 0x18 + STEER_BOAT, // 0x19 + PICK_ITEM, // 0x1A + CRAFT_RECIPE_REQUEST, // 0x1B + PLAYER_ABILITIES, // 0x1C + PLAYER_DIGGING, // 0x1D + ENTITY_ACTION, // 0x1E + STEER_VEHICLE, // 0x1F + PONG, // 0x20 + RECIPE_BOOK_DATA, // 0x21 + SEEN_RECIPE, // 0x22 + RENAME_ITEM, // 0x23 + RESOURCE_PACK_STATUS, // 0x24 + ADVANCEMENT_TAB, // 0x25 + SELECT_TRADE, // 0x26 + SET_BEACON_EFFECT, // 0x27 + HELD_ITEM_CHANGE, // 0x28 + UPDATE_COMMAND_BLOCK, // 0x29 + UPDATE_COMMAND_BLOCK_MINECART, // 0x2A + CREATIVE_INVENTORY_ACTION, // 0x2B + UPDATE_JIGSAW_BLOCK, // 0x2C + UPDATE_STRUCTURE_BLOCK, // 0x2D + UPDATE_SIGN, // 0x2E + ANIMATION, // 0x2F + SPECTATE, // 0x30 + PLAYER_BLOCK_PLACEMENT, // 0x31 + USE_ITEM; // 0x32 @Override public int getId() {