Skip to content

Commit

Permalink
Cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
lukas0008 committed Aug 21, 2024
1 parent 8eb894e commit e6f0e12
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion pumpkin-protocol/src/client/config/c_add_resource_pack.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use pumpkin_macros::packet;
use pumpkin_core::text::TextComponent;
use pumpkin_macros::packet;
use serde::Serialize;

use crate::uuid::UUID;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use pumpkin_macros::packet;
use pumpkin_core::text::TextComponent;
use pumpkin_macros::packet;
use serde::Serialize;

use crate::VarInt;
Expand Down
2 changes: 1 addition & 1 deletion pumpkin-protocol/src/client/play/c_open_screen.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use pumpkin_macros::packet;
use pumpkin_core::text::TextComponent;
use pumpkin_macros::packet;
use serde::Serialize;

use crate::VarInt;
Expand Down
2 changes: 1 addition & 1 deletion pumpkin-protocol/src/client/play/c_player_chat_message.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
use num_derive::{FromPrimitive, ToPrimitive};
use num_traits::FromPrimitive;
use pumpkin_macros::packet;
use pumpkin_core::text::TextComponent;
use pumpkin_macros::packet;
use serde::Serialize;

use crate::{bytebuf::ByteBuffer, uuid::UUID, BitSet, ClientPacket, VarInt};
Expand Down
2 changes: 1 addition & 1 deletion pumpkin-protocol/src/client/play/c_set_title.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use pumpkin_macros::packet;
use pumpkin_core::text::TextComponent;
use pumpkin_macros::packet;
use serde::Serialize;

#[derive(Serialize)]
Expand Down
2 changes: 1 addition & 1 deletion pumpkin-protocol/src/client/play/c_subtitle.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use pumpkin_macros::packet;
use pumpkin_core::text::TextComponent;
use pumpkin_macros::packet;
use serde::Serialize;

#[derive(Serialize)]
Expand Down
2 changes: 1 addition & 1 deletion pumpkin/src/client/client_packet.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
use num_traits::FromPrimitive;
use pumpkin_core::text::TextComponent;
use pumpkin_protocol::{
client::{
config::{CConfigAddResourcePack, CFinishConfig, CKnownPacks, CRegistryData},
Expand All @@ -13,7 +14,6 @@ use pumpkin_protocol::{
},
ConnectionState, KnownPack, CURRENT_MC_PROTOCOL,
};
use pumpkin_core::text::TextComponent;
use rsa::Pkcs1v15Encrypt;
use sha1::{Digest, Sha1};

Expand Down
2 changes: 1 addition & 1 deletion pumpkin/src/client/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ use crate::{
use authentication::GameProfile;
use mio::{event::Event, net::TcpStream, Token};
use num_traits::ToPrimitive;
use pumpkin_core::text::TextComponent;
use pumpkin_protocol::{
bytebuf::packet_id::Packet,
client::{
Expand All @@ -36,7 +37,6 @@ use pumpkin_protocol::{
},
ClientPacket, ConnectionState, PacketError, RawPacket, ServerPacket,
};
use pumpkin_core::text::TextComponent;

use std::io::Read;
use thiserror::Error;
Expand Down
2 changes: 1 addition & 1 deletion pumpkin/src/client/player_packet.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ use crate::{
util::math::wrap_degrees,
};
use num_traits::FromPrimitive;
use pumpkin_core::text::TextComponent;
use pumpkin_entity::EntityId;
use pumpkin_protocol::{
client::play::{
Expand All @@ -22,7 +23,6 @@ use pumpkin_protocol::{
SUseItemOn, Status,
},
};
use pumpkin_core::text::TextComponent;
use pumpkin_world::block::BlockFace;
use pumpkin_world::global_registry;

Expand Down

0 comments on commit e6f0e12

Please sign in to comment.