Skip to content

Commit 108e96e

Browse files
committed
Move world data tracker into first join game handler
1 parent 6dd5cb2 commit 108e96e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

common/src/main/java/com/viaversion/viabackwards/protocol/protocol1_20to1_20_2/rewriter/EntityPacketRewriter1_20_2.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,8 @@ public void register() {
7575
wrapper.write(Type.BOOLEAN, reducedDebugInfo);
7676
wrapper.write(Type.BOOLEAN, showRespawnScreen);
7777

78+
worldDataTrackerHandlerByKey().handle(wrapper);
79+
7880
wrapper.send(Protocol1_20To1_20_2.class);
7981
wrapper.cancel();
8082

@@ -84,7 +86,6 @@ public void register() {
8486

8587
configurationPacketStorage.sendQueuedPackets(wrapper.user());
8688
});
87-
handler(worldDataTrackerHandlerByKey());
8889
}
8990
});
9091

0 commit comments

Comments
 (0)