Fixed a typo
This commit is contained in:
parent
aa8d768fc2
commit
02940cc805
|
|
@ -30,7 +30,7 @@ public class VelocityForgeBackendHandshakeHandler extends ChannelDuplexHandler {
|
||||||
if (serverConnection == null) {
|
if (serverConnection == null) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
VelocityForgeClientConnectionPhase clientPhase = (VelocityForgeClientConnectionPhase) serverConnection.getPhase();
|
VelocityForgeClientConnectionPhase clientPhase = (VelocityForgeClientConnectionPhase) serverConnection.getPlayer().getPhase();
|
||||||
if (clientPhase.clientPhase == VelocityForgeClientConnectionPhase.ClientPhase.MODDED) {
|
if (clientPhase.clientPhase == VelocityForgeClientConnectionPhase.ClientPhase.MODDED) {
|
||||||
clientPhase.reset(serverConnection ,serverConnection.getPlayer()).thenAccept(ignored -> ctx.flush());
|
clientPhase.reset(serverConnection ,serverConnection.getPlayer()).thenAccept(ignored -> ctx.flush());
|
||||||
} else {
|
} else {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user