mirror of
https://github.com/ViaVersion/ViaFabricPlus.git
synced 2024-11-02 08:59:31 +01: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
|
* - Add setting for VFP AlphaInventoryProvider
|
||||||
* - Fix MixinAbstractDonkeyEntity
|
* - Fix MixinAbstractDonkeyEntity
|
||||||
* - Check TO DO in MixinEntity
|
* - Check TO DO in MixinEntity
|
||||||
* - Fix bedrock online mode
|
|
||||||
*/
|
*/
|
||||||
public class ViaFabricPlus {
|
public class ViaFabricPlus {
|
||||||
private static final ViaFabricPlus instance = new ViaFabricPlus();
|
private static final ViaFabricPlus instance = new ViaFabricPlus();
|
||||||
|
@ -75,8 +75,7 @@ public abstract class MixinConnectScreen_1 {
|
|||||||
final UserConnection userConnection = ((IClientConnection) clientConnection).viaFabricPlus$getUserConnection();
|
final UserConnection userConnection = ((IClientConnection) clientConnection).viaFabricPlus$getUserConnection();
|
||||||
if (userConnection == null) return;
|
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)) {
|
if (targetVersion.isBetweenInclusive(VersionEnum.r1_19, VersionEnum.r1_19_1tor1_19_2)) {
|
||||||
final var keyPair = MinecraftClient.getInstance().getProfileKeys().fetchKeyPair().join().orElse(null);
|
final var keyPair = MinecraftClient.getInstance().getProfileKeys().fetchKeyPair().join().orElse(null);
|
||||||
if (keyPair != null) {
|
if (keyPair != null) {
|
||||||
|
Loading…
Reference in New Issue
Block a user