From efba98124c05a341982f37f781a223ec1447856f Mon Sep 17 00:00:00 2001 From: jake Date: Thu, 14 May 2020 09:45:05 -0600 Subject: [PATCH] this changed in libpso --- src/ship/packet/handler/message.rs | 2 +- src/ship/ship.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ship/packet/handler/message.rs b/src/ship/packet/handler/message.rs index 1d7f6b5..7a001b6 100644 --- a/src/ship/packet/handler/message.rs +++ b/src/ship/packet/handler/message.rs @@ -25,7 +25,7 @@ pub fn request_exp(id: ClientId, } pub fn player_drop_item(id: ClientId, - player_drop_item: &PlayerDropItem2, + player_drop_item: &PlayerDropItem, entity_gateway: &mut EG, client_location: &ClientLocation, clients: &mut Clients, diff --git a/src/ship/ship.rs b/src/ship/ship.rs index 086cefb..45b8d2f 100644 --- a/src/ship/ship.rs +++ b/src/ship/ship.rs @@ -205,7 +205,7 @@ impl ShipServerState { GameMessage::RequestExp(request_exp) => { handler::message::request_exp(id, request_exp, &self.client_location, &self.rooms) }, - GameMessage::PlayerDropItem2(player_drop_item) => { + GameMessage::PlayerDropItem(player_drop_item) => { handler::message::player_drop_item(id, player_drop_item, &mut self.entity_gateway, &mut self.client_location, &mut self.clients, &mut self.rooms, &mut self.item_manager).unwrap() }, _ => {