Added CheckInventoryMax and CheckActorInventoryMax.