Fixed a typo
This commit is contained in:
parent
aa8d768fc2
commit
02940cc805
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user