Clarified error message
This commit is contained in:
parent
9e31287476
commit
dbf0777d29
|
|
@ -78,10 +78,10 @@ public class ForgeLoginSessionHandler implements MinecraftSessionHandler {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void disconnected() {
|
public void disconnected() {
|
||||||
//TODO:Change this
|
|
||||||
if (!serverConnection.getPhase().consideredComplete()) {
|
if (!serverConnection.getPhase().consideredComplete()) {
|
||||||
serverConnection.getPlayer().handleConnectionException(serverConnection.getServer(),
|
serverConnection.getPlayer().handleConnectionException(serverConnection.getServer(),
|
||||||
Disconnect.create(Component.text("Probably mismatched mods"),
|
Disconnect.create(Component.text("Backend server disconnected during handshake could be: " +
|
||||||
|
"mismatched mods OR bad player-forwarding config"),
|
||||||
serverConnection.getPlayer().getProtocolVersion()),false);
|
serverConnection.getPlayer().getProtocolVersion()),false);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user