summaryrefslogtreecommitdiffstats
path: root/src/Protocol/Protocol_1_12.cpp
diff options
context:
space:
mode:
authordImrich <damian@haze.sk>2021-02-04 00:33:17 +0100
committerTiger Wang <ziwei.tiger@outlook.com>2021-02-06 15:14:40 +0100
commit925f960ea2aeeea8eaeae94a8ef6602690b215c2 (patch)
treec865f2e046008670b8fc9e7985c8394a7590c97e /src/Protocol/Protocol_1_12.cpp
parentCreative mode hits immediately disappear boats (#5117) (diff)
downloadcuberite-925f960ea2aeeea8eaeae94a8ef6602690b215c2.tar
cuberite-925f960ea2aeeea8eaeae94a8ef6602690b215c2.tar.gz
cuberite-925f960ea2aeeea8eaeae94a8ef6602690b215c2.tar.bz2
cuberite-925f960ea2aeeea8eaeae94a8ef6602690b215c2.tar.lz
cuberite-925f960ea2aeeea8eaeae94a8ef6602690b215c2.tar.xz
cuberite-925f960ea2aeeea8eaeae94a8ef6602690b215c2.tar.zst
cuberite-925f960ea2aeeea8eaeae94a8ef6602690b215c2.zip
Diffstat (limited to '')
-rw-r--r--src/Protocol/Protocol_1_12.cpp61
1 files changed, 31 insertions, 30 deletions
diff --git a/src/Protocol/Protocol_1_12.cpp b/src/Protocol/Protocol_1_12.cpp
index 30a975d18..e4ce9a942 100644
--- a/src/Protocol/Protocol_1_12.cpp
+++ b/src/Protocol/Protocol_1_12.cpp
@@ -1167,36 +1167,37 @@ UInt32 cProtocol_1_12_1::GetPacketID(ePacketType a_Packet)
{
switch (a_Packet)
{
- case pktAttachEntity: return 0x43;
- case pktCameraSetTo: return 0x39;
- case pktCollectEntity: return 0x4b;
- case pktDestroyEntity: return 0x32;
- case pktDisplayObjective: return 0x3b;
- case pktEntityEffect: return 0x4f;
- case pktEntityEquipment: return 0x3f;
- case pktEntityHeadLook: return 0x36;
- case pktEntityMeta: return 0x3c;
- case pktEntityProperties: return 0x4e;
- case pktEntityVelocity: return 0x3e;
- case pktExperience: return 0x40;
- case pktHeldItemChange: return 0x3a;
- case pktLeashEntity: return 0x3d;
- case pktPlayerList: return 0x2e;
- case pktPlayerAbilities: return 0x2c;
- case pktPlayerMaxSpeed: return 0x4e;
- case pktPlayerMoveLook: return 0x2f;
- case pktRemoveEntityEffect: return 0x33;
- case pktResourcePack: return 0x34;
- case pktRespawn: return 0x35;
- case pktScoreboardObjective: return 0x42;
- case pktSpawnPosition: return 0x46;
- case pktUnlockRecipe: return 0x31;
- case pktUpdateHealth: return 0x41;
- case pktUpdateScore: return 0x45;
- case pktUseBed: return 0x30;
- case pktTeleportEntity: return 0x4c;
- case pktTimeUpdate: return 0x47;
- case pktTitle: return 0x48;
+ case pktAttachEntity: return 0x43;
+ case pktCameraSetTo: return 0x39;
+ case pktCollectEntity: return 0x4b;
+ case pktDestroyEntity: return 0x32;
+ case pktDisplayObjective: return 0x3b;
+ case pktEntityEffect: return 0x4f;
+ case pktEntityEquipment: return 0x3f;
+ case pktEntityHeadLook: return 0x36;
+ case pktEntityMeta: return 0x3c;
+ case pktEntityProperties: return 0x4e;
+ case pktEntityVelocity: return 0x3e;
+ case pktExperience: return 0x40;
+ case pktHeldItemChange: return 0x3a;
+ case pktLeashEntity: return 0x3d;
+ case pktPlayerList: return 0x2e;
+ case pktPlayerListHeaderFooter: return 0x4a;
+ case pktPlayerAbilities: return 0x2c;
+ case pktPlayerMaxSpeed: return 0x4e;
+ case pktPlayerMoveLook: return 0x2f;
+ case pktRemoveEntityEffect: return 0x33;
+ case pktResourcePack: return 0x34;
+ case pktRespawn: return 0x35;
+ case pktScoreboardObjective: return 0x42;
+ case pktSpawnPosition: return 0x46;
+ case pktUnlockRecipe: return 0x31;
+ case pktUpdateHealth: return 0x41;
+ case pktUpdateScore: return 0x45;
+ case pktUseBed: return 0x30;
+ case pktTeleportEntity: return 0x4c;
+ case pktTimeUpdate: return 0x47;
+ case pktTitle: return 0x48;
default: return Super::GetPacketID(a_Packet);
}