Skip to content

Commit

Permalink
Update Protocol sub so invalid enums do not cause immediate crash
Browse files Browse the repository at this point in the history
Signed-off-by: Joshua Castle <[email protected]>
  • Loading branch information
Kas-tle committed May 13, 2024
1 parent ceb73ec commit 34093ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion protocol
Submodule protocol updated 47 files
+2 −1 ...dec/src/main/java/org/cloudburstmc/protocol/bedrock/codec/compat/serializer/DisconnectSerializerCompat.java
+2 −1 ...dec/src/main/java/org/cloudburstmc/protocol/bedrock/codec/v291/serializer/CraftingEventSerializer_v291.java
+2 −1 bedrock-codec/src/main/java/org/cloudburstmc/protocol/bedrock/codec/v291/serializer/EventSerializer_v291.java
+2 −1 ...odec/src/main/java/org/cloudburstmc/protocol/bedrock/codec/v291/serializer/PlayerActionSerializer_v291.java
+2 −1 .../src/main/java/org/cloudburstmc/protocol/bedrock/codec/v291/serializer/SetSpawnPositionSerializer_v291.java
+2 −1 ...ck-codec/src/main/java/org/cloudburstmc/protocol/bedrock/codec/v291/serializer/SetTitleSerializer_v291.java
+2 −1 ...codec/src/main/java/org/cloudburstmc/protocol/bedrock/codec/v291/serializer/ShowCreditsSerializer_v291.java
+2 −1 ...k-codec/src/main/java/org/cloudburstmc/protocol/bedrock/codec/v291/serializer/StartGameSerializer_v291.java
+3 −2 ...k-codec/src/main/java/org/cloudburstmc/protocol/bedrock/codec/v332/serializer/StartGameSerializer_v332.java
+3 −2 bedrock-codec/src/main/java/org/cloudburstmc/protocol/bedrock/codec/v354/serializer/EventSerializer_v354.java
+2 −1 ...c/main/java/org/cloudburstmc/protocol/bedrock/codec/v388/serializer/MultiplayerSettingsSerializer_v388.java
+2 −1 .../src/main/java/org/cloudburstmc/protocol/bedrock/codec/v407/serializer/SetSpawnPositionSerializer_v407.java
+2 −1 ...k-codec/src/main/java/org/cloudburstmc/protocol/bedrock/codec/v407/serializer/StartGameSerializer_v407.java
+2 −1 ...c/src/main/java/org/cloudburstmc/protocol/bedrock/codec/v428/serializer/PlayerAuthInputSerializer_v428.java
+2 −1 ...codec/src/main/java/org/cloudburstmc/protocol/bedrock/codec/v448/serializer/NpcDialogueSerializer_v448.java
+2 −1 ...ck-codec/src/main/java/org/cloudburstmc/protocol/bedrock/codec/v471/serializer/SubChunkSerializer_v471.java
+2 −1 ...ck-codec/src/main/java/org/cloudburstmc/protocol/bedrock/codec/v475/serializer/SubChunkSerializer_v475.java
+2 −1 ...k-codec/src/main/java/org/cloudburstmc/protocol/bedrock/codec/v503/serializer/AddPlayerSerializer_v503.java
+2 −1 ...ec/src/main/java/org/cloudburstmc/protocol/bedrock/codec/v527/serializer/LessonProgressSerializer_v527.java
+2 −1 ...odec/src/main/java/org/cloudburstmc/protocol/bedrock/codec/v527/serializer/PlayerActionSerializer_v527.java
+3 −2 ...ec/src/main/java/org/cloudburstmc/protocol/bedrock/codec/v527/serializer/RequestAbilitySerializer_v527.java
+2 −1 ...rc/main/java/org/cloudburstmc/protocol/bedrock/codec/v527/serializer/RequestPermissionsSerializer_v527.java
+2 −1 ...k-codec/src/main/java/org/cloudburstmc/protocol/bedrock/codec/v534/serializer/AddPlayerSerializer_v534.java
+2 −1 ...k-codec/src/main/java/org/cloudburstmc/protocol/bedrock/codec/v557/serializer/AddPlayerSerializer_v557.java
+2 −1 ...-codec/src/main/java/org/cloudburstmc/protocol/bedrock/codec/v622/serializer/DisconnectSerializer_v622.java
+5 −4 .../java/org/cloudburstmc/protocol/bedrock/codec/v630/serializer/SetPlayerInventoryOptionsSerializer_v360.java
+2 −1 ...k-codec/src/main/java/org/cloudburstmc/protocol/bedrock/codec/v671/serializer/StartGameSerializer_v671.java
+3 −1 bedrock-codec/src/main/java/org/cloudburstmc/protocol/bedrock/data/GamePublishSetting.java
+3 −1 bedrock-codec/src/main/java/org/cloudburstmc/protocol/bedrock/data/GameType.java
+3 −1 bedrock-codec/src/main/java/org/cloudburstmc/protocol/bedrock/data/InputMode.java
+3 −1 bedrock-codec/src/main/java/org/cloudburstmc/protocol/bedrock/data/PhotoType.java
+3 −4 bedrock-codec/src/main/java/org/cloudburstmc/protocol/bedrock/data/SpawnBiomeType.java
+3 −1 bedrock-codec/src/main/java/org/cloudburstmc/protocol/bedrock/data/UserInterfaceProfile.java
+3 −1 bedrock-codec/src/main/java/org/cloudburstmc/protocol/bedrock/data/entity/EntityDamageCause.java
+2 −4 bedrock-codec/src/main/java/org/cloudburstmc/protocol/bedrock/data/entity/EntityLinkData.java
+0 −1 bedrock-codec/src/main/java/org/cloudburstmc/protocol/bedrock/data/inventory/ContainerType.java
+3 −4 bedrock-codec/src/main/java/org/cloudburstmc/protocol/bedrock/data/inventory/crafting/CraftingDataType.java
+3 −1 bedrock-codec/src/main/java/org/cloudburstmc/protocol/bedrock/data/skin/AnimatedTextureType.java
+3 −1 bedrock-codec/src/main/java/org/cloudburstmc/protocol/bedrock/data/skin/AnimationExpressionType.java
+3 −1 bedrock-codec/src/main/java/org/cloudburstmc/protocol/bedrock/data/structure/StructureAnimationMode.java
+3 −1 bedrock-codec/src/main/java/org/cloudburstmc/protocol/bedrock/data/structure/StructureBlockType.java
+3 −1 bedrock-codec/src/main/java/org/cloudburstmc/protocol/bedrock/data/structure/StructureMirror.java
+3 −1 bedrock-codec/src/main/java/org/cloudburstmc/protocol/bedrock/data/structure/StructureRedstoneSaveMode.java
+3 −1 bedrock-codec/src/main/java/org/cloudburstmc/protocol/bedrock/data/structure/StructureRotation.java
+3 −1 ...codec/src/main/java/org/cloudburstmc/protocol/bedrock/data/structure/StructureTemplateRequestOperation.java
+3 −1 ...ock-codec/src/main/java/org/cloudburstmc/protocol/bedrock/data/structure/StructureTemplateResponseType.java
+15 −0 common/src/main/java/org/cloudburstmc/protocol/common/util/NullableEnum.java

0 comments on commit 34093ee

Please sign in to comment.