From 50c25dac3419542ce21651f25b00fb4981ab633d Mon Sep 17 00:00:00 2001 From: griffi-gh Date: Sun, 21 May 2023 02:16:34 +0200 Subject: [PATCH] fix warnings --- kubi-server/src/world.rs | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/kubi-server/src/world.rs b/kubi-server/src/world.rs index 00d9109..c253a8d 100644 --- a/kubi-server/src/world.rs +++ b/kubi-server/src/world.rs @@ -6,16 +6,13 @@ use kubi_shared::networking::{ channels::{CHANNEL_WORLD, CHANNEL_BLOCK}, client::Client, }; -use uflow::{ - server::{Event as ServerEvent, RemoteClient}, - SendMode -}; +use uflow::{server::RemoteClient, SendMode}; use lz4_flex::compress_prepend_size as lz4_compress; use anyhow::Result; use std::{rc::Rc, cell::RefCell}; use kubi_shared::networking::client::ClientIdMap; use crate::{ - server::{UdpServer, ServerEvents, IsMessageOfType}, + server::{UdpServer, ServerEvents}, config::ConfigTable, client::{ClientAddress, ClientAddressMap}, util::check_message_auth,