Skip to content

Commit

Permalink
Hotfix protocol for 1.21.2/3
Browse files Browse the repository at this point in the history
  • Loading branch information
adepierre committed Nov 11, 2024
1 parent d605c86 commit 47c29c7
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,7 @@ namespace ProtocolCraft
#if PROTOCOL_VERSION > 766 /* > 1.20.6 */
JukeboxPlayable,
#endif
#if PROTOCOL_VERSION < 768 /* < 1.21.2 */
Recipes,
#endif
LodestoneTracker,
FireworkExplosion,
Fireworks,
Expand Down
4 changes: 0 additions & 4 deletions protocolCraft/src/Types/Components/DataComponents.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -189,9 +189,7 @@ namespace ProtocolCraft
#if PROTOCOL_VERSION > 766 /* > 1.20.6 */
"jukebox_playable",
#endif
#if PROTOCOL_VERSION < 768 /* < 1.21.2 */
"recipes",
#endif
"lodestone_tracker",
"firework_explosion",
"fireworks",
Expand Down Expand Up @@ -250,9 +248,7 @@ namespace ProtocolCraft
case DataComponentTypes::IntangibleProjectile:
case DataComponentTypes::MapDecorations:
case DataComponentTypes::DebugStickState:
#if PROTOCOL_VERSION < 768 /* < 1.21.2 */
case DataComponentTypes::Recipes:
#endif
case DataComponentTypes::Lock:
case DataComponentTypes::ContainerLoot:
#if PROTOCOL_VERSION > 767 /* > 1.21.1 */
Expand Down

0 comments on commit 47c29c7

Please sign in to comment.