diff --git a/src/core/event_registry/server_event.rs b/src/core/event_registry/server_event.rs index 4ed5bd2a..2b7b1797 100644 --- a/src/core/event_registry/server_event.rs +++ b/src/core/event_registry/server_event.rs @@ -396,6 +396,7 @@ impl ServerEvent { make sure that the event references visible entities for the client", ctx.invalid_entities, ); + ctx.invalid_entities.clear(); Err(bincode::ErrorKind::Custom(message).into()) } }