Fixed a typo

This commit is contained in:
Adrian Bergqvist 2022-10-27 18:21:19 +02:00
parent aa8d768fc2
commit 02940cc805
No known key found for this signature in database
GPG Key ID: FAE7D8EDE225E686

View File

@ -30,7 +30,7 @@ public class VelocityForgeBackendHandshakeHandler extends ChannelDuplexHandler {
if (serverConnection == null) {
return;
}
VelocityForgeClientConnectionPhase clientPhase = (VelocityForgeClientConnectionPhase) serverConnection.getPhase();
VelocityForgeClientConnectionPhase clientPhase = (VelocityForgeClientConnectionPhase) serverConnection.getPlayer().getPhase();
if (clientPhase.clientPhase == VelocityForgeClientConnectionPhase.ClientPhase.MODDED) {
clientPhase.reset(serverConnection ,serverConnection.getPlayer()).thenAccept(ignored -> ctx.flush());
} else {