Update crates/bevy_remote/src/lib.rs

Good call

Co-authored-by: Sébastien Job <sebastien.job@gmail.com>
This commit is contained in:
MevLyshkin 2025-06-24 21:36:59 +02:00 committed by GitHub
parent 8cea898f9c
commit a67cccc107
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -518,7 +518,7 @@ impl Default for RemotePlugin {
impl Plugin for RemotePlugin { impl Plugin for RemotePlugin {
fn build(&self, app: &mut App) { fn build(&self, app: &mut App) {
app.register_type_data::<schemas::open_rpc::OpenRpcDocument, schemas::ReflectJsonSchema>(); app.register_type::<schemas::open_rpc::OpenRpcDocument>().register_type_data::<schemas::open_rpc::OpenRpcDocument, schemas::ReflectJsonSchema>();
let mut remote_methods = RemoteMethods::new(); let mut remote_methods = RemoteMethods::new();