diff options
Diffstat (limited to 'azalea-client/src/plugins/auto_reconnect.rs')
| -rw-r--r-- | azalea-client/src/plugins/auto_reconnect.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/azalea-client/src/plugins/auto_reconnect.rs b/azalea-client/src/plugins/auto_reconnect.rs index fd24f12c..4851a4e7 100644 --- a/azalea-client/src/plugins/auto_reconnect.rs +++ b/azalea-client/src/plugins/auto_reconnect.rs @@ -126,7 +126,7 @@ pub fn rejoin_after_delay( /// You can also remove this resource from the ECS to disable the default /// auto-reconnecting behavior. Inserting the resource/component again will not /// make clients that were already disconnected automatically reconnect. -#[derive(Resource, Component, Debug, Clone)] +#[derive(Clone, Component, Debug, Resource)] pub struct AutoReconnectDelay { pub delay: Duration, } @@ -139,7 +139,7 @@ impl AutoReconnectDelay { /// This is inserted when we're disconnected and indicates when we'll reconnect. /// /// This is set based on [`AutoReconnectDelay`]. -#[derive(Component, Debug, Clone)] +#[derive(Clone, Component, Debug)] pub struct InternalReconnectAfter { pub instant: Instant, } |
