From 38d686e583c5bbf21291b28d8f38d82471b568af Mon Sep 17 00:00:00 2001 From: griffi-gh Date: Tue, 7 Mar 2023 04:56:51 +0100 Subject: [PATCH] fix --- Server.toml | 2 +- kubi-server/src/world.rs | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Server.toml b/Server.toml index 69c01e8..1cfc2a3 100644 --- a/Server.toml +++ b/Server.toml @@ -4,4 +4,4 @@ max_clients = 254 timeout_ms = 10000 [world] -seed = 0xbeef_face_dead_cafe +seed = 0xfeb_face_dead_cafe diff --git a/kubi-server/src/world.rs b/kubi-server/src/world.rs index b555576..84c1561 100644 --- a/kubi-server/src/world.rs +++ b/kubi-server/src/world.rs @@ -14,7 +14,7 @@ pub mod tasks; use chunk::Chunk; -use self::{tasks::{ChunkTaskManager, ChunkTask, ChunkTaskResponse}, chunk::ChunkState}; +use self::{tasks::{ChunkTaskManager, ChunkTask, ChunkTaskResponse, init_chunk_task_manager}, chunk::ChunkState}; #[derive(Unique, Default)] pub struct ChunkManager { @@ -99,7 +99,8 @@ fn init_chunk_manager( pub fn init_world() -> Workload { ( - init_chunk_manager + init_chunk_manager, + init_chunk_task_manager, ).into_workload() }