mirror of
https://github.com/ViaVersion/ViaFabricPlus.git
synced 2024-09-06 01:07:59 +02:00
Merge remote-tracking branch 'origin/recode/3.0.0' into recode/3.0.0
This commit is contained in:
commit
c5191b583d
@ -51,7 +51,6 @@ import java.util.concurrent.CompletableFuture;
|
||||
* - 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();
|
||||
|
@ -75,8 +75,7 @@ public abstract class MixinConnectScreen_1 {
|
||||
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) {
|
||||
|
Loading…
Reference in New Issue
Block a user