public override void Drop(Slot slot, ObjectContainer fromContainer) { // copy the slot's data back into the array we're working with. objects[slot.index] = slot.items.First().obj; }