fucked up stuff, but I dont know how to revert...

I had an array of itemstacks and I tried to turn it into not an array
since I only had one item slot. but ended up royally fucking things up