ServerPreConnectEvent#getInfo -> getServer

This commit is contained in:
kashike
2018-09-12 22:41:51 -07:00
parent ab2c887e2c
commit c3fd559ac2
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();
});
}