Skip to content

Commit

Permalink
Fix packet id ClientboundEntityPositionSyncPacket
Browse files Browse the repository at this point in the history
  • Loading branch information
AJ-Ferguson committed Oct 21, 2024
1 parent a4bfe67 commit fb2d302
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,7 @@ public class MinecraftCodec {
.registerClientboundPacket(ClientboundDisconnectPacket.class, ClientboundDisconnectPacket::new)
.registerClientboundPacket(ClientboundDisguisedChatPacket.class, ClientboundDisguisedChatPacket::new)
.registerClientboundPacket(ClientboundEntityEventPacket.class, ClientboundEntityEventPacket::new)
.registerClientboundPacket(ClientboundEntityPositionSyncPacket.class, ClientboundEntityPositionSyncPacket::new)
.registerClientboundPacket(ClientboundExplodePacket.class, ClientboundExplodePacket::new)
.registerClientboundPacket(ClientboundForgetLevelChunkPacket.class, ClientboundForgetLevelChunkPacket::new)
.registerClientboundPacket(ClientboundGameEventPacket.class, ClientboundGameEventPacket::new)
Expand Down Expand Up @@ -383,7 +384,6 @@ public class MinecraftCodec {
.registerClientboundPacket(ClientboundTagQueryPacket.class, ClientboundTagQueryPacket::new)
.registerClientboundPacket(ClientboundTakeItemEntityPacket.class, ClientboundTakeItemEntityPacket::new)
.registerClientboundPacket(ClientboundTeleportEntityPacket.class, ClientboundTeleportEntityPacket::new)
.registerClientboundPacket(ClientboundEntityPositionSyncPacket.class, ClientboundEntityPositionSyncPacket::new)
.registerClientboundPacket(ClientboundTickingStatePacket.class, ClientboundTickingStatePacket::new)
.registerClientboundPacket(ClientboundTickingStepPacket.class, ClientboundTickingStepPacket::new)
.registerClientboundPacket(ClientboundTransferPacket.class, ClientboundTransferPacket::new)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ public enum ParticleStatus {
DECREASED,
MINIMAL;

public static final ParticleStatus[] VALUES = values();
private static final ParticleStatus[] VALUES = values();

public static ParticleStatus from(int id) {
return VALUES[id];
Expand Down

0 comments on commit fb2d302

Please sign in to comment.