Made getStackInSlot actually work

No idea what that thing was trying to do before...