From f0972d0c8cd2e3248a80d1a46b987cc4b6edb89e Mon Sep 17 00:00:00 2001 From: littleblack111 Date: Thu, 18 Sep 2025 10:07:50 +0800 Subject: fix(force_network): wrong argument to parse into bool --- src/client/connector.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/client/connector.rs') diff --git a/src/client/connector.rs b/src/client/connector.rs index 50d5f65..ad06cca 100644 --- a/src/client/connector.rs +++ b/src/client/connector.rs @@ -23,7 +23,7 @@ pub trait Connection { fn get_ip(&self) -> Option; fn force_network(&mut self) { - _ = Executor::new(&NETWORK_T, ["on"]); + _ = Executor::new(&NETWORK_T, ["true"]); } fn init<'a>(&self, c: &crate::client::Client<'a, Self>) -> std::result::Result<(), Self::Err> -- cgit v1.2.3