Skip to content
This repository has been archived by the owner on Jul 1, 2024. It is now read-only.

Commit

Permalink
Move ecs.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
Mubelotix committed Nov 11, 2023
1 parent 0b0f86f commit b2df45a
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 2 deletions.
1 change: 0 additions & 1 deletion minecraft-server/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
mod player_handler;
mod server_behavior;
mod prelude;
mod ecs;
mod world;

use crate::prelude::*;
Expand Down
2 changes: 1 addition & 1 deletion minecraft-server/src/prelude.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pub use crate::{ecs::*, player_handler::*, server_behavior::*, world::*};
pub use crate::{player_handler::*, server_behavior::*, world::*};
pub use futures::FutureExt;
pub use log::{debug, error, info, trace, warn};
pub use minecraft_protocol::{
Expand Down
File renamed without changes.
2 changes: 2 additions & 0 deletions minecraft-server/src/world/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ mod loading_manager;
use loading_manager::*;
mod map;
use map::*;
mod ecs;
use ecs::*;

/// World is the union of the map and entities.
/// World handles loaded chunks and entities.
Expand Down

0 comments on commit b2df45a

Please sign in to comment.