diff --git a/EOLib/PacketHandlers/Locker/LockerReplyHandler.cs b/EOLib/PacketHandlers/Locker/LockerReplyHandler.cs index e55305a2b..8a589b404 100644 --- a/EOLib/PacketHandlers/Locker/LockerReplyHandler.cs +++ b/EOLib/PacketHandlers/Locker/LockerReplyHandler.cs @@ -11,7 +11,7 @@ namespace EOLib.PacketHandlers.Locker /// Handles LOCKER_REPLY from server for adding an item to locker /// [AutoMappedType] - public class LockerReplyHandler : LockerGetHandler + public class LockerReplyHandler : LockerModifyHandler { public override PacketAction Action => PacketAction.Reply; @@ -23,9 +23,9 @@ public LockerReplyHandler(IPlayerInfoProvider playerInfoProvider, { } - public override bool HandlePacket(LockerGetServerPacket packet) + public override bool HandlePacket(LockerReplyServerPacket packet) { - Handle(packet.TakenItem.Id, packet.TakenItem.Amount, packet.Weight, packet.LockerItems); + Handle(packet.DepositedItem.Id, packet.DepositedItem.Amount, packet.Weight, packet.LockerItems); return true; } }