mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
fix ci
This commit is contained in:
parent
3fd9d54baf
commit
b534282dcc
@ -207,7 +207,6 @@ impl BotClient {
|
||||
info!("login done");
|
||||
}
|
||||
|
||||
|
||||
pub fn handle_ingame_join(&mut self, prefix: &str) {
|
||||
let creds: Vec<_> = self
|
||||
.settings
|
||||
@ -220,13 +219,11 @@ impl BotClient {
|
||||
let runtime = Arc::clone(&self.runtime);
|
||||
|
||||
let server = self.settings.server.clone();
|
||||
let client = match self
|
||||
.bot_clients
|
||||
.get_mut(&cred.username) {
|
||||
let client = match self.bot_clients.get_mut(&cred.username) {
|
||||
Some(c) => c,
|
||||
None => {
|
||||
tracing::trace!(?cred.username, "skip not logged in client");
|
||||
continue
|
||||
continue;
|
||||
},
|
||||
};
|
||||
|
||||
|
@ -28,7 +28,7 @@ pub enum Cmd {
|
||||
},
|
||||
InGame {
|
||||
prefix: String,
|
||||
}
|
||||
},
|
||||
}
|
||||
|
||||
pub struct Tui {
|
||||
|
@ -2,6 +2,8 @@
|
||||
use crate::plugin::memory_manager::EcsWorld;
|
||||
#[cfg(feature = "plugins")]
|
||||
use crate::plugin::PluginMgr;
|
||||
#[cfg(feature = "plugins")]
|
||||
use common::uid::UidAllocator;
|
||||
use common::{
|
||||
comp,
|
||||
event::{EventBus, LocalEvent, ServerEvent},
|
||||
@ -11,7 +13,6 @@ use common::{
|
||||
terrain::{Block, TerrainChunk, TerrainGrid},
|
||||
time::DayPeriod,
|
||||
trade::Trades,
|
||||
uid::UidAllocator,
|
||||
vol::{ReadVol, WriteVol},
|
||||
};
|
||||
use common_base::span;
|
||||
|
Loading…
Reference in New Issue
Block a user