Skip to content

Commit

Permalink
Fix: Serverbound ServerboundResourcePackPacket registered as client b…
Browse files Browse the repository at this point in the history
…ound (#761)
  • Loading branch information
onebeastchris authored Oct 3, 2023
1 parent d972296 commit e282423
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ public class MinecraftCodec {
.registerServerboundPacket(ServerboundFinishConfigurationPacket.class, ServerboundFinishConfigurationPacket::new)
.registerServerboundPacket(ServerboundKeepAlivePacket.class, ServerboundKeepAlivePacket::new)
.registerServerboundPacket(ServerboundPongPacket.class, ServerboundPongPacket::new)
.registerClientboundPacket(ServerboundResourcePackPacket.class, ServerboundResourcePackPacket::new)
.registerServerboundPacket(ServerboundResourcePackPacket.class, ServerboundResourcePackPacket::new)
).state(ProtocolState.GAME, PacketStateCodec.builder()
.registerClientboundPacket(ClientboundDelimiterPacket.class, ClientboundDelimiterPacket::new)
.registerClientboundPacket(ClientboundAddEntityPacket.class, ClientboundAddEntityPacket::new)
Expand Down

0 comments on commit e282423

Please sign in to comment.