From bc22faf3b0ba6cc8cc8de6276ff998690ba87bab Mon Sep 17 00:00:00 2001 From: mat Date: Tue, 19 Apr 2022 20:33:17 -0500 Subject: [PATCH] remove a couple of imports --- azalea-protocol/src/mc_buf/read.rs | 1 - azalea-protocol/src/mc_buf/write.rs | 1 - 2 files changed, 2 deletions(-) diff --git a/azalea-protocol/src/mc_buf/read.rs b/azalea-protocol/src/mc_buf/read.rs index 0fa1d099..20b69238 100644 --- a/azalea-protocol/src/mc_buf/read.rs +++ b/azalea-protocol/src/mc_buf/read.rs @@ -2,7 +2,6 @@ use async_trait::async_trait; use azalea_core::{ difficulty::Difficulty, game_type::GameType, resource_location::ResourceLocation, }; -use num_traits::FromPrimitive; use tokio::io::{AsyncRead, AsyncReadExt}; use super::MAX_STRING_LENGTH; diff --git a/azalea-protocol/src/mc_buf/write.rs b/azalea-protocol/src/mc_buf/write.rs index fd9faeb4..26c0ef35 100644 --- a/azalea-protocol/src/mc_buf/write.rs +++ b/azalea-protocol/src/mc_buf/write.rs @@ -3,7 +3,6 @@ use azalea_core::{ difficulty::Difficulty, game_type::GameType, resource_location::ResourceLocation, }; use byteorder::{BigEndian, WriteBytesExt}; -use num_traits::FromPrimitive; use std::io::Write; use super::MAX_STRING_LENGTH;