Game server: fixed a bug that caused the client to crash when trying to give more items than there was room for.