diff --git a/src/ship/ship.rs b/src/ship/ship.rs index 8936afd..4d31242 100644 --- a/src/ship/ship.rs +++ b/src/ship/ship.rs @@ -25,6 +25,7 @@ use crate::ship::location::{ClientLocation, LobbyId, RoomId, RoomLobby, MAX_ROOM use crate::ship::character::{CharacterBytesBuilder, FullCharacterBytesBuilder}; use crate::ship::items; use crate::ship::room; +use crate::ship::map::MapsError; use crate::ship::packet::handler; pub const SHIP_PORT: u16 = 23423; @@ -39,6 +40,7 @@ pub enum ShipError { InvalidSlot(ClientId, u32), TooManyClients, ClientLocationError(#[from] ClientLocationError), + MapsError(#[from] MapsError), InvalidRoom(u32), }