Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/recode/3.0.0' into recode/3.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
FlorianMichael committed Nov 27, 2023
2 parents 29918be + 766048b commit c5191b5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@
* - Add setting for VFP AlphaInventoryProvider
* - Fix MixinAbstractDonkeyEntity
* - Check TO DO in MixinEntity
* - Fix bedrock online mode
*/
public class ViaFabricPlus {
private static final ViaFabricPlus instance = new ViaFabricPlus();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,7 @@ private void setupConnectionSessions(CallbackInfo ci, @Local ClientConnection cl
final UserConnection userConnection = ((IClientConnection) clientConnection).viaFabricPlus$getUserConnection();
if (userConnection == null) return;

final VersionEnum targetVersion = VersionEnum.fromUserConnection(userConnection);

final VersionEnum targetVersion = ProtocolHack.getTargetVersion();
if (targetVersion.isBetweenInclusive(VersionEnum.r1_19, VersionEnum.r1_19_1tor1_19_2)) {
final var keyPair = MinecraftClient.getInstance().getProfileKeys().fetchKeyPair().join().orElse(null);
if (keyPair != null) {
Expand Down

0 comments on commit c5191b5

Please sign in to comment.