From 25b6a752d619fdd00223c01da713e9df5a63642f Mon Sep 17 00:00:00 2001 From: ice_iix Date: Sat, 27 Jun 2020 18:10:10 -0700 Subject: [PATCH] cargo fmt ; (cd blocks && cargo fmt) ; (cd resources && cargo fmt) ; (cd shared && cargo fmt) ; (cd protocol && cargo fmt) ; (cd gl && cargo fmt) ; (cd std_or_web && cargo fmt) --- protocol/src/protocol/packet.rs | 1 - src/server/mod.rs | 5 +---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/protocol/src/protocol/packet.rs b/protocol/src/protocol/packet.rs index 0455581..eb3a143 100644 --- a/protocol/src/protocol/packet.rs +++ b/protocol/src/protocol/packet.rs @@ -2698,7 +2698,6 @@ pub enum RecipeData { addition: RecipeIngredient, result: Option, }, - } impl Default for RecipeData { diff --git a/src/server/mod.rs b/src/server/mod.rs index b3f0290..cb5064f 100644 --- a/src/server/mod.rs +++ b/src/server/mod.rs @@ -970,10 +970,7 @@ impl Server { } } - fn on_game_join_worldnames( - &mut self, - join: packet::play::clientbound::JoinGame_WorldNames, - ) { + fn on_game_join_worldnames(&mut self, join: packet::play::clientbound::JoinGame_WorldNames) { self.on_game_join(join.gamemode, join.entity_id) }