File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -182,17 +182,6 @@ fn on_connect(socket: SocketRef, Data(data): Data<serde_json::Value>) {
182182 target_thread. add_player ( player. clone ( ) ) ;
183183
184184 let player_arc: Arc < horizon_data_types:: Player > = Arc :: new ( player) ;
185- // let thread_plugins = target_thread.plugins.clone();
186- // let plugin_name = stringify!(unreal_adapter_horizon);
187- // println!("{:?}", thread_plugins);
188- // let plugin = match thread_plugins.get(plugin_name) {
189- // Some(plugin) => plugin,
190- // None => {
191- // log_error!(LOGGER, "PLUGIN", "Plugin unreal_adapter_horizon not found");
192- // return;
193- // }
194- // };
195- // let casted_struct: unreal_adapter_horizon_plugin = plugin.instance as unreal_adapter_horizon_plugin;
196185
197186 let casted_struct = plugin_api:: get_plugin!( unreal_adapter_horizon, target_thread. plugins) ;
198187
You can’t perform that action at this time.
0 commit comments