Merge pull request #76 from kashike/mrn

ServerPreConnectEvent#getInfo -> getServer
This commit is contained in:
Andrew Steinborn
2018-09-14 00:17:25 -04:00
committed by GitHub
2 changed files with 7 additions and 7 deletions

View File

@@ -284,7 +284,7 @@ public class ConnectedPlayer implements MinecraftConnectionAssociation, Player {
);
}
return new VelocityServerConnection(newEvent.getResult().getInfo().get(), this, server).connect();
return new VelocityServerConnection(newEvent.getResult().getServer().get(), this, server).connect();
});
}