From 5336925a1279cbe14f8c0acf36585337b8200046 Mon Sep 17 00:00:00 2001 From: maxomatic458 <104733404+maxomatic458@users.noreply.github.com> Date: Wed, 23 Oct 2024 13:07:30 +0200 Subject: [PATCH] format --- crates/valence_equipment/src/lib.rs | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/crates/valence_equipment/src/lib.rs b/crates/valence_equipment/src/lib.rs index e79c720fa..a7e6b07c7 100644 --- a/crates/valence_equipment/src/lib.rs +++ b/crates/valence_equipment/src/lib.rs @@ -37,11 +37,12 @@ impl Plugin for EquipmentPlugin { } /// Contains the visible equipment of a [`LivingEntity`], such as armor and held -/// items. By default this is not synced with a player's [`valence_inventory::Inventory`], so the -/// armor the player has equipped in their inventory, will not be visible by -/// other players. You would have to change the equipment in this component here -/// or attach the [`EquipmentInventorySync`] component to the player -/// entity to sync the equipment with the inventory. +/// items. By default this is not synced with a player's +/// [`valence_inventory::Inventory`], so the armor the player has equipped in +/// their inventory, will not be visible by other players. You would have to +/// change the equipment in this component here or attach the +/// [`EquipmentInventorySync`] component to the player entity to sync the +/// equipment with the inventory. #[derive(Debug, Default, Clone, Component)] pub struct Equipment { equipment: [ItemStack; Self::SLOT_COUNT],