Skip to content

Commit 93c7a32

Browse files
committed
Updated Via* libraries
1 parent ec9fb8c commit 93c7a32

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@ repositories {
4848
}
4949

5050
dependencies {
51-
includeInJar "com.viaversion:viaversion-common:5.3.3-SNAPSHOT"
52-
includeInJar "com.viaversion:viabackwards-common:5.3.3-SNAPSHOT"
51+
includeInJar "com.viaversion:viaversion-common:5.4.0-SNAPSHOT"
52+
includeInJar "com.viaversion:viabackwards-common:5.4.0-SNAPSHOT"
5353
includeInJar "com.viaversion:viarewind-common:4.0.8-SNAPSHOT"
5454
includeInJar "net.raphimc:ViaLegacy:3.0.10-SNAPSHOT"
5555
includeInJar "com.viaversion:viaaprilfools-common:4.0.2-SNAPSHOT"

src/main/java/net/raphimc/viaproxy/proxy/packethandler/LoginPacketHandler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ public boolean handleC2P(Packet packet, List<ChannelFutureListener> listeners) t
9292
if (ViaProxy.getConfig().isProxyOnlineMode() && !ViaProxy.EVENT_MANAGER.call(new ShouldVerifyOnlineModeEvent(this.proxyConnection)).isCancelled()) {
9393
this.proxyConnection.getC2P().writeAndFlush(new S2CLoginHelloPacket("", KEY_PAIR.getPublic().getEncoded(), this.verifyToken, true)).addListener(ChannelFutureListener.FIRE_EXCEPTION_ON_FAILURE);
9494
} else {
95-
ViaProxy.EVENT_MANAGER.call(new ClientLoggedInEvent(proxyConnection));
95+
ViaProxy.EVENT_MANAGER.call(new ClientLoggedInEvent(this.proxyConnection));
9696
ExternalInterface.fillPlayerData(this.proxyConnection);
9797
this.proxyConnection.getChannel().writeAndFlush(this.proxyConnection.getLoginHelloPacket()).addListener(ChannelFutureListener.FIRE_EXCEPTION_ON_FAILURE);
9898
}

0 commit comments

Comments
 (0)