From c3f474e34d59b0207953d511a07198f0b86ec25e Mon Sep 17 00:00:00 2001 From: jake Date: Tue, 5 May 2020 22:16:15 -0600 Subject: [PATCH] remove commented out code --- src/ship/packet/handler/direct_message.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/ship/packet/handler/direct_message.rs b/src/ship/packet/handler/direct_message.rs index 3b6b297..fcbd3ae 100644 --- a/src/ship/packet/handler/direct_message.rs +++ b/src/ship/packet/handler/direct_message.rs @@ -83,8 +83,6 @@ where z: request_item.z, item: item_drop_type, }; - //let floor_item_instance = FloorItemInstance::from_item_drop(entity_gateway, item_drop)?; - //let activated_item = item_manager.activate_floor_item(floor_item_instance); let client = clients.get_mut(&area_client.client).ok_or(ShipError::ClientNotFound(area_client.client))?; let floor_item = item_manager.drop_item_on_local_floor(entity_gateway, &client.character, item_drop).unwrap(); // TODO: unwrap let item_drop_msg = builder::message::item_drop(request_item.client, request_item.target, &floor_item)?; @@ -147,7 +145,6 @@ where let remove_item = builder::message::remove_item_from_floor(area_client, &item)?; let create_item = builder::message::create_item(area_client, &item)?; - //match client.inventory.add_item(item.item) { match item_manager.move_item_from_floor_to_inventory(entity_gateway, &mut client, item) { Ok(_) => { Ok(Box::new(Vec::new().into_iter()