Michael Porter Jr. thinks year on sidelines helped him adapt to NBA