mooege/mooege — Issue #272: Stash management lead to an exception server-side
Author: PeteGet27
Created: 2011-11-01 11:14:07+00:00
State: open

I tried to fit a 2H sword or a gem in the stash, it brought me this except :

```csharp

[Debug] [Game]: Unhandled exception caught: - [Exception] System.IndexOutOfRangeException: Index was outside the bounds of the array.
at Mooege.Core.GS.Players.Equipment.GetEquipment(Int32 targetEquipSlot) in D:\mooege\src\Mooege\Core\GS\Players\Equipment.cs:line 133
at Mooege.Core.GS.Players.Inventory.HandleInventoryRequestMoveMessage(InventoryRequestMoveMessage request) in D:\mooege\src\Mooege\Core\GS\Players\Inventory.cs:line 127
at Mooege.Core.GS.Players.Inventory.Consume(GameClient client, GameMessage message) in D:\mooege\src\Mooege\Core\GS\Players\Inventory.cs:line 304
at Mooege.Core.GS.Games.Game.Route(GameClient client, GameMessage message) in
D:\mooege\src\Mooege\Core\GS\Games\Game.cs:line 179
```