Quickfix - GenericInventory.cs

Fixed: incorrect indexing due to class_instance.instaceid being NULL.
Source: @narugo