Skip to content

Commit

Permalink
Fix EntityIDSyncPacket being broken in multiplayer
Browse files Browse the repository at this point in the history
  • Loading branch information
embeddedt committed Feb 5, 2024
1 parent 2699fe4 commit 4dfba0c
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ public void write(FriendlyByteBuf buf) {

@SuppressWarnings("unchecked")
public EntityIDSyncPacket(FriendlyByteBuf buf) {
this.map = new HashMap<>();
EntityIDSyncPacket self = this;
int numEntityClasses = buf.readVarInt();
for(int i = 0; i < numEntityClasses; i++) {
Expand Down

0 comments on commit 4dfba0c

Please sign in to comment.