aboutsummaryrefslogtreecommitdiff
path: root/azalea-client/src
diff options
context:
space:
mode:
Diffstat (limited to 'azalea-client/src')
-rw-r--r--azalea-client/src/client.rs6
-rw-r--r--azalea-client/src/lib.rs4
2 files changed, 5 insertions, 5 deletions
diff --git a/azalea-client/src/client.rs b/azalea-client/src/client.rs
index 89e33dbc..f26fe6d8 100644
--- a/azalea-client/src/client.rs
+++ b/azalea-client/src/client.rs
@@ -230,7 +230,7 @@ impl Client {
let mut app = App::new();
app.add_plugins(DefaultPlugins);
- let ecs_lock = start_ecs(app, run_schedule_receiver, run_schedule_sender.clone());
+ let ecs_lock = start_ecs_runner(app, run_schedule_receiver, run_schedule_sender.clone());
Self::start_client(
ecs_lock,
@@ -243,7 +243,7 @@ impl Client {
}
/// Create a [`Client`] when you already have the ECS made with
- /// [`start_ecs`]. You'd usually want to use [`Self::join`] instead.
+ /// [`start_ecs_runner`]. You'd usually want to use [`Self::join`] instead.
pub async fn start_client(
ecs_lock: Arc<Mutex<World>>,
account: &Account,
@@ -634,7 +634,7 @@ impl Plugin for AzaleaPlugin {
/// You can create your app with `App::new()`, but don't forget to add
/// [`DefaultPlugins`].
#[doc(hidden)]
-pub fn start_ecs(
+pub fn start_ecs_runner(
app: App,
run_schedule_receiver: mpsc::UnboundedReceiver<()>,
run_schedule_sender: mpsc::UnboundedSender<()>,
diff --git a/azalea-client/src/lib.rs b/azalea-client/src/lib.rs
index 942f683c..40544540 100644
--- a/azalea-client/src/lib.rs
+++ b/azalea-client/src/lib.rs
@@ -32,8 +32,8 @@ pub mod task_pool;
pub use account::{Account, AccountOpts};
pub use client::{
- start_ecs, Client, ClientInformation, DefaultPlugins, JoinError, JoinedClientBundle, TabList,
- TickBroadcast,
+ start_ecs_runner, Client, ClientInformation, DefaultPlugins, JoinError, JoinedClientBundle,
+ TabList, TickBroadcast,
};
pub use events::Event;
pub use local_player::{GameProfileComponent, LocalPlayer, SendPacketEvent};