3
0
Mirror von https://github.com/ViaVersion/ViaBackwards.git synchronisiert 2024-12-24 15:20:19 +01:00

Move world data tracker into first join game handler

Dieser Commit ist enthalten in:
Nassim Jahnke 2023-08-18 01:36:37 +10:00
Ursprung 6dd5cb20d9
Commit 108e96ec6d

Datei anzeigen

@ -75,6 +75,8 @@ public final class EntityPacketRewriter1_20_2 extends EntityRewriter<Clientbound
wrapper.write(Type.BOOLEAN, reducedDebugInfo);
wrapper.write(Type.BOOLEAN, showRespawnScreen);
worldDataTrackerHandlerByKey().handle(wrapper);
wrapper.send(Protocol1_20To1_20_2.class);
wrapper.cancel();
@ -84,7 +86,6 @@ public final class EntityPacketRewriter1_20_2 extends EntityRewriter<Clientbound
configurationPacketStorage.sendQueuedPackets(wrapper.user());
});
handler(worldDataTrackerHandlerByKey());
}
});